forked from qcr/armer_ur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
100 lines (73 loc) · 2.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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/usr/bin/env python3
"""
.. codeauthor:: Gavin Suddreys
"""
import os
from typing import List
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
req = [
'armer'
]
# Get the long description from the README file
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# list all data folders here, to ensure they get packaged
data_folders = [
]
def package_files(directory: List[str]) -> List[str]:
"""[summary]
:param directory: [description]
:type directory: [type]
:return: [description]
:rtype: [type]
"""
paths: List[str] = []
for (pathhere, _, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', pathhere, filename))
return paths
extra_files = []
for data_folder in data_folders:
extra_files += package_files(data_folder)
setup(
name='armer_ur',
version='0.0.0',
description='Armer UR - The ROS Arm drivEr for the UR series of robots',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/suddrey-qut/armer',
author='Gavin Suddrey',
license='MIT',
classifiers=[
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# 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',
],
python_requires='>=3.6',
project_urls={
# 'Documentation': 'https://petercorke.github.io/roboticstoolbox-python',
'Source': 'https://github.com/suddrey-qut/armer',
'Tracker': 'https://github.com/suddrey-qut/armer/issues'#,
# 'Coverage': 'https://codecov.io/gh/petercorke/roboticstoolbox-python'
},
keywords='python robotics robotics-toolbox kinematics dynamics' \
' motion-planning trajectory-generation jacobian hessian' \
' control simulation robot-manipulator mobile-robot ros',
packages=find_packages(exclude=['tests']),
package_data={'armer_ur': extra_files},
install_requires=req,
extras_require={
}
)