summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-03-01 17:21:49 (GMT)
committerGitHub <noreply@github.com>2019-03-01 17:21:49 (GMT)
commitcfe172dc6bd0a02d36db31ffabcc38f9320a4510 (patch)
treebebc9e9f0d48ded0d12502ee1b5839e1b68c5a5d /Misc
parentbe7c460fb50efe3b88a00281025d76acc62ad2fd (diff)
downloadcpython-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.rst2
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``.