Skip to content

bpo-36146: Add TEST_EXTENSIONS to setup.py #12129

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 1 commit into from
Mar 1, 2019
Merged

bpo-36146: Add TEST_EXTENSIONS to setup.py #12129

merged 1 commit into from
Mar 1, 2019

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Mar 1, 2019

Add TEST_EXTENSIONS constant to setup.py to allow to not build test
extensions like _testcapi.

Changes:

  • Add add_ldflags_cppflags() subfunction
  • Rename add_compiler_directories() to configure_compiler().
  • Remove unused COMPILED_WITH_PYDEBUG constant.
  • Use self.add() rather than accessing directly self.extensions.

https://bugs.python.org/issue36146

Add TEST_EXTENSIONS constant to setup.py to allow to not build test
extensions like _testcapi.

Changes:

* Add add_ldflags_cppflags() subfunction
* Rename add_compiler_directories() to configure_compiler().
* Remove unused COMPILED_WITH_PYDEBUG constant.
* Use self.add() rather than accessing directly self.extensions.
* Remove module_enabled() function: check differently if curses
  extension is built or not.
@vstinner vstinner merged commit cfe172d into python:master Mar 1, 2019
@vstinner vstinner deleted the refactor_setup_py7 branch March 1, 2019 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants