-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathsetup.py
52 lines (48 loc) · 1.61 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
"""
Setup of Berkeley AUTOLab Perception module Python codebase.
Author: Jeff Mahler
"""
import os
from setuptools import setup
requirements = [
"numpy",
"scipy",
"autolab_core",
"opencv-python",
"pyserial>=3.4",
"ffmpeg-python",
]
# load __version__ without importing anything
version_file = os.path.join(os.path.dirname(__file__), "perception/version.py")
with open(version_file, "r") as f:
# use eval to get a clean string of version from file
__version__ = eval(f.read().strip().split("=")[-1])
setup(
name="autolab_perception",
version=__version__,
description="Perception utilities for the Berkeley AutoLab",
author="Jeff Mahler",
author_email="[email protected]",
maintainer="Mike Danielczuk",
maintainer_email="[email protected]",
license="Apache Software License",
url="https://github.com/BerkeleyAutomation/perception",
keywords="robotics grasping vision perception",
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
],
packages=["perception"],
install_requires=requirements,
extras_require={
"docs": ["sphinx", "sphinxcontrib-napoleon", "sphinx_rtd_theme"],
"ros": ["primesense", "rospkg", "catkin_pkg", "empy"],
},
)