-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
64 lines (60 loc) · 2.06 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
import re
from os import path
from setuptools import setup, find_packages
# read the contents of README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# read the version file
VERSIONFILE = "sbp_env/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
mo = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", verstrline, re.M)
if not mo:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
version_str = mo.group(1)
with open("requirements.txt") as f:
install_requires = [l for l in f.read().splitlines() if l]
setup(
name="sbp-env",
version=version_str,
description="Motion planning environment for Sampling-based Planners",
long_description=long_description,
long_description_content_type="text/markdown",
author="Tin Lai (@soraxas)",
author_email="[email protected]",
license="MIT",
url="https://github.com/soraxas/sbp-env",
keywords="motion planning robotics sbp rrt",
python_requires=">=3.7",
# packages=find_packages(where="sbp_env"),
packages=[
"sbp_env",
"sbp_env.planners",
"sbp_env.samplers",
"sbp_env.utils",
],
install_requires=install_requires,
entry_points={
"console_scripts": [
"sbp-env=sbp_env:run_cli",
]
},
classifiers=[
"Environment :: Console",
"Framework :: Matplotlib",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Desktop Environment",
"Topic :: Terminals",
"Topic :: Utilities",
],
)