forked from platformio/platformio-core
Show full version of the current interpreter
This commit is contained in:
1 parent
1d5245edbd
commit
2091a33fb9
2 files changed
+2
-3
No files matched your search
@@ -36,5 +36,5 @@ if sys.version_info < (2, 7, 0) or sys.version_info >= (3, 0, 0):
|
||||
msg = ("PlatformIO Core v%s does not run under Python version %s.\n"
|
||||
"Minimum supported version is 2.7, please upgrade Python.\n"
|
||||
"Python 3 is not yet supported.\n")
|
||||
sys.stderr.write(msg % (__version__, sys.version.split()[0]))
|
||||
sys.stderr.write(msg % (__version__, sys.version))
|
||||
sys.exit(1)
|
||||
Reference in new issue
Block a user