-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathsetup.py
64 lines (61 loc) · 1.85 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
"""
Setup of core python codebase
Author: Jeff Mahler
"""
import os
from setuptools import setup
requirements = [
"numpy",
"scipy",
"scikit-image",
"scikit-learn",
"ruamel.yaml",
"matplotlib",
"multiprocess",
"setproctitle",
"opencv-python",
"Pillow",
"joblib",
"colorlog",
"pyreadline; platform_system=='Windows'",
]
# load __version__ without importing anything
version_file = os.path.join(
os.path.dirname(__file__), "autolab_core/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_core",
version=__version__,
description="Core utilities for the Berkeley AutoLab",
long_description=(
"Core utilities for the Berkeley AutoLab. "
"Includes rigid transformations, loggers, and 3D data wrappers."
),
author="Jeff Mahler",
author_email="[email protected]",
maintainer="Mike Danielczuk",
maintainer_email="[email protected]",
license="Apache Software License",
url="https://github.com/BerkeleyAutomation/autolab_core",
keywords="robotics grasping transformations",
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=["autolab_core"],
install_requires=requirements,
extras_require={
"docs": ["sphinx", "sphinxcontrib-napoleon", "sphinx_rtd_theme"],
"ros": ["rospkg", "catkin_pkg", "empy"],
},
)