2017-07-25 12:19:11 -04:00
|
|
|
from distutils.core import setup
|
|
|
|
from distutils.extension import Extension
|
|
|
|
from Cython.Build import cythonize
|
|
|
|
|
|
|
|
setup(
|
|
|
|
ext_modules = cythonize(
|
|
|
|
[Extension("catima", ["catima.pyx"],
|
|
|
|
language="c++",
|
2018-07-24 17:09:43 -04:00
|
|
|
libraries=["catima"],
|
|
|
|
library_dirs=["${CMAKE_CURRENT_BINARY_DIR}/lib"],
|
2017-07-25 12:19:11 -04:00
|
|
|
include_dirs=["${CMAKE_CURRENT_BINARY_DIR}/include"],
|
2018-07-24 17:09:43 -04:00
|
|
|
# extra_objects=["${CATIMA_LIB}"],
|
2018-10-21 16:08:16 -04:00
|
|
|
extra_compile_args=["-std=c++14"],
|
|
|
|
extra_link_args=["-std=c++14"]
|
2017-07-25 12:19:11 -04:00
|
|
|
),
|
|
|
|
])
|
|
|
|
)
|