-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
executable file
·29 lines (28 loc) · 1.48 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
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
from setuptools import find_packages
setup(name='ur_ikfast',
version='0.1.0',
license='MIT License',
long_description=open('README.md').read(),
packages=find_packages(),
ext_modules=[Extension("ur3e_ikfast",
["ur3e/ur3e_ikfast.pyx",
"ur3e/ikfast_wrapper.cpp"], language="c++", libraries=['lapack']),
Extension("ur3_ikfast",
["ur3/ur3_ikfast.pyx",
"ur3/ikfast_wrapper.cpp"], language="c++", libraries=['lapack']),
Extension("ur5_ikfast",
["ur5/ur5_ikfast.pyx",
"ur5/ikfast_wrapper.cpp"], language="c++", libraries=['lapack']),
Extension("ur5e_ikfast",
["ur5e/ur5e_ikfast.pyx",
"ur5e/ikfast_wrapper.cpp"], language="c++", libraries=['lapack']),
Extension("ur10_ikfast",
["ur10/ur10_ikfast.pyx",
"ur10/ikfast_wrapper.cpp"], language="c++", libraries=['lapack']),
Extension("ur10e_ikfast",
["ur10e/ur10e_ikfast.pyx",
"ur10e/ikfast_wrapper.cpp"], language="c++", libraries=['lapack'])],
cmdclass={'build_ext': build_ext})