Commit 7f36e78d authored by Lorenz Halt's avatar Lorenz Halt 🔀
Browse files

cythonize lib

parent f1ac95c5
## ! DO NOT MANUALLY INVOKE THIS setup.py, USE CATKIN INSTEAD
import os
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup
from Cython.Build import cythonize
from pitasc_install_utils.custom_build_pyc import build_pyc_include
# fetch values from package.xml
setup_args = generate_distutils_setup(
d = generate_distutils_setup(
packages=['ilc'],
package_dir={'': 'scripts'})
package_dir={'': 'scripts'}
)
setup(**setup_args)
setup(ext_modules = cythonize(
build_pyc_include.get_py_list([
'scripts/ilc/'
]),
build_dir='/tmp/cython_build/',
language_level = int(os.environ['ROS_PYTHON_VERSION'])),
cmdclass = {"build_py": build_pyc_include},
**d)
Supports Markdown
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