diff options
author | Leifur Halldor Asgeirsson <lasgeirsson@zerofail.com> | 2016-02-18 17:24:05 -0500 |
---|---|---|
committer | Leifur Halldor Asgeirsson <lasgeirsson@zerofail.com> | 2016-03-18 16:01:57 -0400 |
commit | 554c7dd22f5be8abf8cd447270cec2a1e754631c (patch) | |
tree | f607838f2730ae12a09135f1b3e213a73a62ebe3 /setup.py | |
parent | 4302be789d89703d48f033c44720f828765f1467 (diff) |
py3 compatibility for test runner & loader
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -106,7 +106,7 @@ if "linux" in sys.platform or "darwin" in sys.platform: DEFINE_MACROS += (('PyMODINIT_FUNC', '__attribute__((visibility ("default"))) void'),) -def cython_extensions(package_names, module_names, extra_sources, include_dirs, +def cython_extensions(module_names, extra_sources, include_dirs, libraries, define_macros, build_with_cython=False): # Set compiler directives linetrace argument only if we care about tracing; # this is due to Cython having different behavior between linetrace being @@ -139,7 +139,7 @@ def cython_extensions(package_names, module_names, extra_sources, include_dirs, return extensions CYTHON_EXTENSION_MODULES = cython_extensions( - list(CYTHON_EXTENSION_PACKAGE_NAMES), list(CYTHON_EXTENSION_MODULE_NAMES), + list(CYTHON_EXTENSION_MODULE_NAMES), list(CYTHON_HELPER_C_FILES) + list(CORE_C_FILES), list(EXTENSION_INCLUDE_DIRECTORIES), list(EXTENSION_LIBRARIES), list(DEFINE_MACROS), bool(BUILD_WITH_CYTHON)) |