port esptool to python 2/3

This commit is contained in:
Jeremy Herbert
2016-09-22 08:24:29 +10:00
parent f2034774ea
commit 1acbe73bbf
2 changed files with 143 additions and 118 deletions

View File

@@ -2,11 +2,6 @@ from setuptools import setup
import io
import os
import re
import sys
if sys.version_info[0] > 2:
raise RuntimeError("esptool.py only supports Python 2.x")
# Example code to pull version from esptool.py with regex, taken from