generate_release.py: Don't uninstall setuptools

gevent was changed and now depends on it for some reason
This commit is contained in:
James Taylor 2020-08-11 22:54:13 -07:00
parent bd255a9ab0
commit 3fccc39e32

View File

@ -167,7 +167,7 @@ shutil.rmtree(r'./python/Lib/site-packages/gevent/testing')
remove_files_with_extensions(r'./python/Lib/site-packages/gevent', ['.html']) # bloated html documentation
log('Uninstalling pip and others')
check(os.system(r'.\python\python.exe -I -m pip uninstall --yes pip setuptools wheel'))
check(os.system(r'.\python\python.exe -I -m pip uninstall --yes pip wheel'))
log('Removing pyc files') # Have to do this because get-pip and some packages don't respect --no-compile
remove_files_with_extensions(r'./python', ['.pyc'])