-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
71 lines (66 loc) · 2.4 KB
/
setup.py
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from setuptools import setup, Extension, find_packages
import os
from distutils.sysconfig import get_config_vars
with open("README.md", "r") as f:
long_description = f.read()
(opt,) = get_config_vars('OPT')
os.environ['OPT'] = " ".join(
flag for flag in opt.split() if flag != '-Wstrict-prototypes'
)
exec(open('sparse_rrt/_version.py').read())
setup(
name='sparse_rrt',
version=__version__,
description='Sparse stable trees planner',
long_description=long_description,
author='Oleg Sinyavskiy',
author_email='olegsinyavskiy@gmail.com',
url='https://github.com/olegsinyavskiy/sparse_rrt',
download_url='',
license='BSD License 2.0',
install_requires=['numpy>=1.13.3'],
package_data={'': ['input']},
include_package_data=True,
extras_require={
'tests': ['pytest>=2.7.2',
'pytest-pep8>=1.0.6',
'pytest-xdist>=1.13.1',
'pytest-cov>=2.1.0'],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=find_packages(),
ext_modules=[Extension(
'sparse_rrt._sst_module',
extra_compile_args=['-std=c++1y', '-O3'],
include_dirs=['deps/pybind11/include',
'include'],
sources=[
'src/motion_planners/rrt.cpp',
'src/motion_planners/sst.cpp',
'src/nearest_neighbors/graph_nearest_neighbors.cpp',
'src/systems/car.cpp',
'src/systems/cart_pole.cpp',
'src/systems/pendulum.cpp',
'src/systems/point.cpp',
'src/systems/rally_car.cpp',
'src/systems/two_link_acrobot.cpp',
'src/utilities/random.cpp',
'src/utilities/timer.cpp',
'src/image_creation/svg_image.cpp',
'src/image_creation/planner_visualization.cpp',
'src/systems/distance_functions.cpp',
'src/python_wrapper.cpp'])
]
)