diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2018-02-23 14:34:10 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2018-02-23 14:34:10 +0100 |
commit | 7ac1fc76904ce0ea60072eb20e3ffdcea5291a46 (patch) | |
tree | c99b08889bc540080fc6aa6ca3729cb577d9360e /tests/build | |
parent | f1543ddee08ed707b1fb5ac203948cffb0e1beba (diff) | |
download | cython-7ac1fc76904ce0ea60072eb20e3ffdcea5291a46.tar.gz |
Add an integration test for the setuptools based build from #2104.
Diffstat (limited to 'tests/build')
-rw-r--r-- | tests/build/setuptools_reimport.srctree | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/build/setuptools_reimport.srctree b/tests/build/setuptools_reimport.srctree new file mode 100644 index 000000000..d5c3b2613 --- /dev/null +++ b/tests/build/setuptools_reimport.srctree @@ -0,0 +1,23 @@ +# mode: run +# tag: setuptools + +PYTHON setup.py + + +######## module.pyx ######## + +cimport cython + + +######## import_cython.py ######## + +import Cython.Compiler.Main + + +######## setup.py ######## + +from setuptools.sandbox import run_setup +run_setup('import_cython.py', ['egg_info']) + +from Cython.Build import cythonize +cythonize('module.pyx') |