-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
64 lines (57 loc) · 2.08 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
#!/usr/bin/env python
"""
setup.py
Created by Perry Naseck on 6/20/21.
Copyright (c) 2021, Wireless Sensing and Embedded Systems Lab, Carnegie
Mellon University
All rights reserved.
This source code is licensed under the BSD-3-Clause license found in the
LICENSE file in the root directory of this source tree.
"""
from glob import glob
from Cython.Build import cythonize
import pathlib
from setuptools import setup, Extension
import numpy
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / 'README.md').read_text(encoding='utf-8')
extensions = [
Extension("particlefilter",
["./particlefilter/cython/particlefilter_wrapper.pyx"] + glob("./particlefilter/src/*.c"),
include_dirs=["./particlefilter/include", numpy.get_include()]
)
]
setup(
name="slam3d",
description="Simultaneous localization and mapping (SLAM) tools in 3D",
long_description=long_description,
long_description_content_type='text/markdown',
license='BSD-3-Clause',
author='Wireless Sensing and Embedded Systems Lab, Carnegie Mellon University',
author_email='wiselabCMU@gmail.com',
ext_modules=cythonize(extensions),
zip_safe=False,
python_requires='>=3.6, <4',
platforms=["any"],
url="https://github.com/WiseLabCMU/slam3d",
project_urls={
'Bug Reports': 'https://github.com/WiseLabCMU/slam3d/issues',
'Source': 'https://github.com/WiseLabCMU/slam3d',
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: C',
'Programming Language :: Cython',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics'
],
keywords='slam slam3d 3d particlefilter particle filter localize localization map mapping tool tools',
install_requires=[
'numpy>=1,<2'
]
)