mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Stop Supporting Python 2.6
This commit is contained in:
@ -36,7 +36,7 @@ __apiurl__ = "http://api.platformio.org"
|
|||||||
__apiip__ = "198.7.57.247"
|
__apiip__ = "198.7.57.247"
|
||||||
|
|
||||||
|
|
||||||
if sys.version_info >= (3, 0, 0):
|
if sys.version_info < (2, 7, 0) or sys.version_info >= (3, 0, 0):
|
||||||
msg = ("PlatformIO version %s does not run under Python version %s.\n"
|
msg = ("PlatformIO version %s does not run under Python version %s.\n"
|
||||||
"Python 3 is not yet supported.\n")
|
"Python 3 is not yet supported.\n")
|
||||||
sys.stderr.write(msg % (__version__, sys.version.split()[0]))
|
sys.stderr.write(msg % (__version__, sys.version.split()[0]))
|
||||||
|
Reference in New Issue
Block a user