From bf25a610acbf3f3f836830af940eadca4a1701dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Thu, 1 Jul 2021 17:04:36 +0200 Subject: [PATCH] unit test that --- example/setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/setup.py b/example/setup.py index f909fa2..c123f29 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']), -- GitLab