forked from ros-infrastructure/rosdep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (38 loc) · 1.33 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
import os
from setuptools import setup
kwargs = {
'name': 'rosdep',
# same version as in:
# - src/rosdep2/__init__.py
# - stdeb.cfg
'version': '0.20.1',
'packages': ['rosdep2', 'rosdep2.ament_packages', 'rosdep2.platforms'],
'package_dir': {'': 'src'},
'install_requires': ['catkin_pkg >= 0.4.0', 'rospkg >= 1.3.0', 'rosdistro >= 0.7.5', 'PyYAML >= 3.1'],
'test_suite': 'nose.collector',
'test_requires': ['mock', 'nose >= 1.0'],
'author': 'Tully Foote, Ken Conley',
'author_email': 'tfoote@osrfoundation.org',
'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'] = {}
if 'SKIP_PYTHON_SCRIPTS' in os.environ:
kwargs['name'] += '_modules'
kwargs['entry_points'] = {}
setup(**kwargs)