Skip to content

Commit

Permalink
generate_release: avoid removing cffi and pycparser
Browse files Browse the repository at this point in the history
Gevent import will raise runtime error because cffi is not found.
  • Loading branch information
alive4ever committed Feb 15, 2025
1 parent a2620eb commit f5bdc36
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion generate_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ def wine_run(command_parts):
wine_run(['./python/python.exe', '-I', '-m', 'pip', 'install', '--no-compile', '-r', './requirements.txt'])

log('Uninstalling unnecessary gevent stuff')
wine_run(['./python/python.exe', '-I', '-m', 'pip', 'uninstall', '--yes', 'cffi', 'pycparser'])
shutil.rmtree(r'./python/Lib/site-packages/gevent/tests')
shutil.rmtree(r'./python/Lib/site-packages/gevent/testing')
remove_files_with_extensions(r'./python/Lib/site-packages/gevent', ['.html']) # bloated html documentation
Expand Down

0 comments on commit f5bdc36

Please sign in to comment.