mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
setup.py no longer defines Py_BUILD_CORE_MODULE. Instead every module defines the macro before #include "Python.h" unless Py_BUILD_CORE_BUILTIN is already defined. Py_BUILD_CORE_BUILTIN is defined for every module that is built by Modules/Setup. The PR also simplifies Modules/Setup. Makefile and makesetup already define Py_BUILD_CORE_BUILTIN and include Modules/internal for us. Signed-off-by: Christian Heimes <christian@python.org>
2 lines
126 B
ReStructuredText
2 lines
126 B
ReStructuredText
``setup.py`` no longer defines ``Py_BUILD_CORE_MODULE``. Instead every
|
|
module, that uses the internal API, defines the macro.
|