-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
84 lines (78 loc) · 2.72 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
from setuptools import setup, find_packages
from os import path
__version__ = "0.3.1"
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
docs_req = [
"sphinx",
"sphinx-tabs",
"sphinx-prompt",
"sphinx-toolbox",
"sphinx_rtd_theme",
"sphinx-autorun",
"sphinxcontrib-jsmath",
"sphinx_markdown_tables",
"myst_parser",
"sphinx-autodoc-typehints",
]
dev_req = [
"sympy",
"pytest",
"pytest-cov",
"coverage",
"codecov",
"recommonmark",
"flake8",
"lark-parser" # seems to be a req of pytest that doesn't get installed automatically on mac and windows
]
setup(
name="spatialmath-rospy",
version=__version__,
description="spatialmath-python and rospy bridge library",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 5 - Production/Stable",
# Indicate who your project is intended for
"Intended Audience :: Developers",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires=">=3.6",
project_urls={
"Documentation": "https://CallumJHays.github.io/spatialmath-rospy",
"Source": "https://github.com/CallumJHays/spatialmath-rospy",
"Tracker": "https://github.com/CallumJHays/spatialmath-rospy/issues",
"Coverage": "https://codecov.io/gh/CallumJHays/spatialmath-rospy",
},
url="https://github.com/CallumJHays/spatialmath-rospy",
author="Callum J Hays",
author_email="[email protected]", # TODO
keywords="python ros rospy spatialmath spatialmath-python geometry robotics transformations",
license="MIT", # TODO
packages=find_packages(exclude=["test_*", "TODO*"]),
install_requires=[
"numpy",
"spatialmath-python",
"typing-extensions",
# actually required by rospy but is sometimes not included in the ROS installation for some reason
# this is probably due to some bug in rosdep
"pyyaml"
],
extras_require={
"docs": docs_req,
"dev": dev_req
},
)