8000 Reduce the size of the build by not compiling stubgen by JukkaL · Pull Request #10107 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Reduce the size of the build by not compiling stubgen #10107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 19, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Reduce the size of the build by not compiling stubgen
This might fix the out-of-memory errors we are getting when
building Windows wheels. In any case these will speed up
builds slightly.
  • Loading branch information
JukkaL committed Feb 18, 2021
commit 9ff2cd3cb4549c03ecc9cefc25600544dcdd9997
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,12 @@ def run(self):
# Also I think there would be problems with how we generate version.py.
'version.py',

# Can be removed once we drop support for Python 3.5.2 and lower.
# Skip these to reduce the size of the build
'stubtest.py',
'stubgen.py',
'stubgenc.py',
'stubdoc.py',
'stubutil.py',
)) + (
# Don't want to grab this accidentally
os.path.join('mypyc', 'lib-rt', 'setup.py'),
Expand Down
0