Commit 7ac1fc76 authored by Stefan Behnel's avatar Stefan Behnel

Add an integration test for the setuptools based build from #2104.

parent f1543dde
...@@ -116,6 +116,7 @@ def get_distutils_distro(_cache=[]): ...@@ -116,6 +116,7 @@ def get_distutils_distro(_cache=[]):
EXT_DEP_MODULES = { EXT_DEP_MODULES = {
'tag:numpy': 'numpy', 'tag:numpy': 'numpy',
'tag:pythran': 'pythran', 'tag:pythran': 'pythran',
'tag:setuptools': 'setuptools.sandbox',
'tag:asyncio': 'asyncio', 'tag:asyncio': 'asyncio',
'tag:pstats': 'pstats', 'tag:pstats': 'pstats',
'tag:posix': 'posix', 'tag:posix': 'posix',
......
# 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')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment