test_cpp_test.py 336 Bytes
Newer Older
gsamain's avatar
gsamain committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize

setup(
    ext_modules = cythonize([
        Extension(
            'test_cpp',
            language='c++',
            sources=['test_cpp.pyx'],
            extra_compile_args=["-pthread", "-std=c++11"],
        ),
    ])
)