Patch few bugs in distutils.ext.

This version seems able to install at list the empty package
This commit is contained in:
2015-05-25 16:55:09 +02:00
parent fdfa51a8c7
commit 5948858a72
7 changed files with 326 additions and 40 deletions

View File

@ -37,10 +37,12 @@ def rerun_with_anothe_python(path, minversion='3.4',maxversion=None, fork=False)
log.info('External process ended')
sys.exit(0)
else:
log.info('Install script restarting...')
os.execv(path,list(args))
def enforce_good_python(minversion='3.4',maxversion=None, fork=False):
if is_python_version(minversion=minversion,maxversion=maxversion):
log.info('You are running the good python')
return True
goodpython = lookfor_good_python(minversion,maxversion)