openGJK/examples/cython/setup.py

14 lines
310 B
Python
Raw Normal View History

2020-05-21 08:24:36 -07:00
from setuptools import Extension, setup
from Cython.Build import cythonize
exts = Extension(
"openGJK_cython",
sources = ["openGJK_cython.pyx"],
2020-05-21 09:20:33 -07:00
extra_compile_args=['-I../../include/','-fopenmp'],
2020-05-21 08:24:36 -07:00
extra_link_args=['-fopenmp'],
)
setup(
name='openGJK-cython-version',
ext_modules = cythonize( [exts] )
)