diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-01 17:21:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-01 17:21:49 (GMT) |
commit | cfe172dc6bd0a02d36db31ffabcc38f9320a4510 (patch) | |
tree | bebc9e9f0d48ded0d12502ee1b5839e1b68c5a5d /Misc | |
parent | be7c460fb50efe3b88a00281025d76acc62ad2fd (diff) | |
download | cpython-cfe172dc6bd0a02d36db31ffabcc38f9320a4510.zip cpython-cfe172dc6bd0a02d36db31ffabcc38f9320a4510.tar.gz cpython-cfe172dc6bd0a02d36db31ffabcc38f9320a4510.tar.bz2 |
bpo-36146: Add TEST_EXTENSIONS to setup.py (GH-12129)
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Build/2019-03-01-17-49-22.bpo-36146.VeoyG7.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2019-03-01-17-49-22.bpo-36146.VeoyG7.rst b/Misc/NEWS.d/next/Build/2019-03-01-17-49-22.bpo-36146.VeoyG7.rst new file mode 100644 index 0000000..f32a821 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2019-03-01-17-49-22.bpo-36146.VeoyG7.rst @@ -0,0 +1,2 @@ +Add ``TEST_EXTENSIONS`` constant to ``setup.py`` to allow to not build test +extensions like ``_testcapi``. |