-
Notifications
You must be signed in to change notification settings - Fork 170
/
setup.py
60 lines (58 loc) · 1.82 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
import os
from setuptools import setup
kwargs = {
'name': 'rosdep',
# same version as in:
# - src/rosdep2/_version.py
# - stdeb.cfg
'version': '0.25.1',
'packages': ['rosdep2', 'rosdep2.ament_packages', 'rosdep2.platforms'],
'package_dir': {'': 'src'},
'install_requires': [
'PyYAML >= 3.1',
'importlib_metadata; python_version<"3.8"',
],
'python_requires': '>=3.6',
'extras_require': {
'test': [
'flake8',
'flake8-builtins',
'flake8-comprehensions',
'flake8-quotes',
'pytest',
],
},
'author': 'Tully Foote, Ken Conley',
'author_email': 'tfoote@osrfoundation.org',
'maintainer': 'ROS Infrastructure Team',
'project_urls': {
'Source code':
'https://github.com/ros-infrastructure/rosdep',
'Issue tracker':
'https://github.com/ros-infrastructure/rosdep/issues',
},
'url': 'http://wiki.ros.org/rosdep',
'keywords': ['ROS'],
'entry_points': {
'console_scripts': [
'rosdep = rosdep2.main:rosdep_main',
'rosdep-source = rosdep2.install:install_main'
]
},
'classifiers': [
'Programming Language :: Python',
'License :: OSI Approved :: BSD License'],
'description': 'rosdep package manager abstraction tool for ROS',
'long_description': 'Command-line tool for installing system '
'dependencies on a variety of platforms.',
'license': 'BSD',
}
if 'SKIP_PYTHON_MODULES' in os.environ:
kwargs['packages'] = []
kwargs['package_dir'] = {}
elif 'SKIP_PYTHON_SCRIPTS' in os.environ:
kwargs['name'] += '_modules'
kwargs['entry_points'] = {}
else:
kwargs['install_requires'] += ['catkin_pkg >= 0.4.0', 'rospkg >= 1.4.0', 'rosdistro >= 0.7.5']
setup(**kwargs)