-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (29 loc) · 1.06 KB
/
setup.py
File metadata and controls
36 lines (29 loc) · 1.06 KB
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
import os
import numpy
from Cython.Build import cythonize
from Cython.Compiler.Options import _directive_defaults
from setuptools import Extension, setup
_directive_defaults['linetrace'] = True
_directive_defaults['binding'] = True
def read(filename):
path = os.path.join(os.path.dirname(__file__), filename)
contents = open(path).read()
return contents
extensions = [
Extension("geometry_code", ["src\\geom\\*.pyx"],
include_dirs=[numpy.get_include()],
define_macros=[]),
]
setup(
name = "SpiderBUG",
version = "1.0.0",
description = "Code to test the SpiderBUG path-planner",
long_description = 'README.md',
author = "Johannes Weck",
author_email = "johannes.weck@gmail.com",
url = "http://github.com/the-jojo/SpiderBUG",
license = "MIT",
ext_modules = cythonize(extensions),
install_requires=['dill', 'matplotlib', 'numpy', 'pyzmq', 'networkx', 'pybullet',
'pyquaternion', 'dubins', 'Cython']
)