You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
629 B
22 lines
629 B
from distutils.core import Extension, setup
|
|
from Cython.Build import cythonize
|
|
|
|
from common.cython_hacks import BuildExtWithoutPlatformSuffix
|
|
|
|
libraries = ['can_list_to_can_capnp', 'capnp', 'kj']
|
|
|
|
setup(name='Boardd API Implementation',
|
|
cmdclass={'build_ext': BuildExtWithoutPlatformSuffix},
|
|
ext_modules=cythonize(
|
|
Extension(
|
|
"boardd_api_impl",
|
|
libraries=libraries,
|
|
library_dirs=[
|
|
'./',
|
|
],
|
|
sources=['boardd_api_impl.pyx'],
|
|
language="c++",
|
|
extra_compile_args=["-std=c++1z", "-Wno-nullability-completeness"],
|
|
)
|
|
)
|
|
)
|
|
|