-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
19 lines (18 loc) · 830 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from setuptools import find_packages, setup, Extension
from Cython.Build import cythonize
setup(
name="iintersection",
packages=find_packages(),
ext_modules=cythonize(
Extension(
"libiintersection",
sources=["libiintersection.pyx"],
language="c++",
include_dirs=["lib/", "lib/sumo/src", "lib/sumo/build/src/",
"lib/sumo/build/cmake-build/src/", "/usr/include/fox-1.6/"],
libraries=["xerces-c", "z", "proj", "FOX-1.6", "X11", "Xext", "freetype", "fontconfig", "Xft", "Xcursor", "Xrender", "Xrandr", "Xfixes", "Xi", "GL", "GLU", "dl", "pthread", "rt", "jpeg", "png", "tiff", "z", "bz2", "lib/sumo/sumo"],
extra_compile_args=["-DPUGIXML_HEADER_ONLY"]
),
language_level="3"
)
)