250 |
250 |
251 # Parse the command line. |
251 # Parse the command line. |
252 global progName, modDir, doCleanup, doCompile, distDir |
252 global progName, modDir, doCleanup, doCompile, distDir |
253 global sourceDir |
253 global sourceDir |
254 |
254 |
255 if ( |
255 if sys.version_info < (3, 5, 0) or sys.version_info >= (4, 0, 0): |
256 sys.version_info < (2, 7, 0) or |
256 print('Sorry, the eric6 debugger requires Python 3.5 or better' |
257 (sys.version_info >= (3, 0, 0) and sys.version_info < (3, 5, 0)) or |
257 ' for running.') |
258 sys.version_info >= (4, 0, 0) |
|
259 ): |
|
260 print('Sorry, the eric6 debugger requires Python 2.7 or' |
|
261 'Python 3.5 or better for running.') |
|
262 exit(5) |
258 exit(5) |
263 |
259 |
264 progName = os.path.basename(argv[0]) |
260 progName = os.path.basename(argv[0]) |
265 |
261 |
266 if os.path.dirname(argv[0]): |
262 if os.path.dirname(argv[0]): |