commit | cfe172dc6bd0a02d36db31ffabcc38f9320a4510 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Fri Mar 01 18:21:49 2019 +0100 |
committer | GitHub <noreply@github.com> | Fri Mar 01 18:21:49 2019 +0100 |
tree | bebc9e9f0d48ded0d12502ee1b5839e1b68c5a5d | |
parent | be7c460fb50efe3b88a00281025d76acc62ad2fd [diff] |
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.