Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 4, 2020

Split long build_extensions() method into sub-methods.

Fix also a typo in Popen.wait(): replace sts with status.

https://bugs.python.org/issue39763

Split long build_extensions() method into sub-methods.

Fix also a typo in Popen.wait(): replace sts with status.
@vstinner
Copy link
Member Author

vstinner commented Mar 4, 2020

With this refactoring, it may become easier to change in which order extensions are built, to try to build the subprocess earlier.

Maybe we could try to build the subprocess first, not in parallel, then reload the subprocess module to build next extensions with the newly built subprocess module.

Another approach is to run setup.py twice. Once to build the subprocess module, a second time to build all other modules.

@vstinner vstinner merged commit 00c77ae into python:master Mar 4, 2020
@vstinner vstinner deleted the refactor_setup_py branch March 4, 2020 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants