Skip to content

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

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:refactor_setup_py7
Mar 1, 2019
Merged

bpo-36146: Add TEST_EXTENSIONS to setup.py#12129
vstinner merged 1 commit intopython:masterfrom
vstinner:refactor_setup_py7

Conversation

@vstinner
Copy link
Copy Markdown
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