-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (32 loc) · 903 Bytes
/
setup.py
File metadata and controls
34 lines (32 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from setuptools import setup
from setuptools import find_packages
from Cython.Build import cythonize
from Cython.Distutils import build_ext
from distutils.extension import Extension
setup(
name='BRTDP-DS-MPI',
version='1.0',
description='',
author='Instance01',
packages=find_packages(),
install_requires=['osmnx', 'networkx', 'numpy'],
include_dirs=["BRTDP_DS_MPI/"],
cmdclass={"build_ext": build_ext},
ext_modules=cythonize([
Extension(
"cpp_brtdp",
["BRTDP_DS_MPI/algorithm/cpp_brtdp.cpp"],
include_dirs=["BRTDP_DS_MPI/external/"]
),
Extension(
"lib",
["BRTDP_DS_MPI/cpp_lib.cpp"],
libraries=["m"]
),
"BRTDP_DS_MPI/*.pyx",
"BRTDP_DS_MPI/algorithm/*.pyx",
],
language="c++",
include_path=["BRTDP_DS_MPI/external/"]
)
)