diff --git a/example/setup.py b/example/setup.py index f909fa2df64219c83a7fcc7a0a54f5b1abcaa167..c123f29f7e92ac7ef7dedd372da2e7414c39af67 100644 --- a/example/setup.py +++ b/example/setup.py @@ -2,7 +2,8 @@ import os from setuptools import setup -from snakehouse import Multibuild, build, monkey_patch_parallel_compilation, find_pyx_and_c +from snakehouse import Multibuild, build, monkey_patch_parallel_compilation, find_pyx_and_c, \ + find_all from setuptools import Extension monkey_patch_parallel_compilation() @@ -18,7 +19,7 @@ if 'DEBUG' in os.environ: cython_multibuilds = [ # note that Windows-style pathes are supported on Linux build environment, # the reverse not necessarily being true (issue #5) - Multibuild('example_module', find_pyx_and_c('example_module'), + Multibuild('example_module', find_all('example_module', True), define_macros=[("CYTHON_TRACE_NOGIL", "1")], dont_snakehouse=dont_snakehouse), Extension('example2.example', ['example2/example.pyx']),