forked from eruffaldi/pyoni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (27 loc) · 1.12 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
from distutils.core import setup
import sys
from setuptools import find_packages,Extension
module1 = Extension('demo',
sources = ['demo.c'])
is_windows = sys.platform.startswith('win')
if is_windows:
q = ['-static-libgcc']
else:
q = []
modulexndec = Extension('xndec.libxndec', extra_compile_args=['--std=c++11'],extra_link_args=q,sources = ['extern/xndec/xn16zdec.cpp'])
moduleany = Extension('anyregistration.libanyregistration', include_dirs=['.','/usr/include/eigen3'] ,extra_compile_args=['--std=c++11'],extra_link_args=q, sources = ['extern/anyregistration/anyregistration.cpp'])
setup(
name = 'pyoni',
version = '0.6.1',
install_requires = ['pypng','pillow < 7.0.0'],
description = 'Python OpenNI ONI tool',
author = 'Emanuele Ruffaldi',
author_email = 'emanuele ruffaldi',
url = 'https://github.com/eruffaldi/pyoni', # use the URL to the github repo
keywords = ['rgbd', 'tool', 'oni','openni'], # arbitrary keywords
classifiers = [],
scripts = ['src/pyonitool.py'],
packages=find_packages('src'),
package_dir = {'':'src'},
ext_modules = [moduleany,modulexndec] #removed modulexndec
)