openGJK/examples/cython/setup.py

14 lines
304 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"],
extra_compile_args=['-Iinclude/','-fopenmp'],
extra_link_args=['-fopenmp'],
)
setup(
name='openGJK-cython-version',
ext_modules = cythonize( [exts] )
)