-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split modules into separate Debian package (#731)
- Loading branch information
1 parent
ff5fedf
commit 5af1a66
Showing
3 changed files
with
56 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,35 @@ | ||
import os | ||
from setuptools import setup | ||
|
||
exec(open(os.path.join(os.path.dirname(__file__), 'src', 'rosdep2', '_version.py')).read()) | ||
|
||
setup( | ||
name='rosdep', | ||
version=__version__, # noqa:F821 | ||
packages=['rosdep2', 'rosdep2.ament_packages', 'rosdep2.platforms'], | ||
package_dir={'': 'src'}, | ||
install_requires=['catkin_pkg >= 0.4.0', 'rospkg >= 1.1.10', 'rosdistro >= 0.7.5', 'PyYAML >= 3.1'], | ||
test_suite='nose.collector', | ||
test_requires=['mock', 'nose >= 1.0'], | ||
scripts=['scripts/rosdep', 'scripts/rosdep-source'], | ||
author='Tully Foote, Ken Conley', | ||
author_email='[email protected]', | ||
url='http://wiki.ros.org/rosdep', | ||
keywords=['ROS'], | ||
classifiers=[ | ||
kwargs = { | ||
'name': 'rosdep', | ||
# same version as in: | ||
# - src/rosdep2/__init__.py | ||
# - stdeb.cfg | ||
'version': '0.18.0', | ||
'packages': ['rosdep2', 'rosdep2.ament_packages', 'rosdep2.platforms'], | ||
'package_dir': {'': 'src'}, | ||
'install_requires': ['catkin_pkg >= 0.4.0', 'rospkg >= 1.1.10', 'rosdistro >= 0.7.5', 'PyYAML >= 3.1'], | ||
'test_suite': 'nose.collector', | ||
'test_requires': ['mock', 'nose >= 1.0'], | ||
'scripts': ['scripts/rosdep', 'scripts/rosdep-source'], | ||
'author': 'Tully Foote, Ken Conley', | ||
'author_email': '[email protected]', | ||
'url': 'http://wiki.ros.org/rosdep', | ||
'keywords': ['ROS'], | ||
'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' | ||
) | ||
'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['scripts'] = {} | ||
|
||
setup(**kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
__version__ = '0.17.1' | ||
# same version as in: | ||
# - setup.py | ||
# - stdeb.cfg | ||
__version__ = '0.18.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,27 @@ | ||
[DEFAULT] | ||
Depends: ca-certificates, python-rospkg (>= 1.1.10), python-yaml, python-catkin-pkg (>= 0.4.0), python-rosdistro (>= 0.7.5), sudo | ||
Depends3: ca-certificates, python3-rospkg (>= 1.1.10), python3-yaml, python3-catkin-pkg (>= 0.4.0), python3-rosdistro (>= 0.7.5), sudo | ||
[rosdep] | ||
; rosdep-modules same version as in: | ||
; - setup.py | ||
; - src/rosdep2/_version.py | ||
Depends: python-rosdep-modules (>= 0.18.0) | ||
; rosdep-modules same version as in: | ||
; - setup.py | ||
; - src/rosdep2/_version.py | ||
Depends3: python3-rosdep-modules (>= 0.18.0) | ||
Conflicts: python3-rosdep, python-rosdep2, python3-rosdep2 | ||
Conflicts3: python-rosdep, python-rosdep2, python3-rosdep2 | ||
Copyright-File: LICENSE | ||
Suite: xenial yakkety zesty artful bionic cosmic disco eoan jessie stretch buster | ||
X-Python3-Version: >= 3.4 | ||
Setup-Env-Vars: SKIP_PYTHON_MODULES=1 | ||
|
||
[rosdep_modules] | ||
Depends: ca-certificates, python-rospkg (>= 1.1.10), python-yaml, python-catkin-pkg (>= 0.4.0), python-rosdistro (>= 0.7.5), sudo | ||
Depends3: ca-certificates, python3-rospkg (>= 1.1.10), python3-yaml, python3-catkin-pkg (>= 0.4.0), python3-rosdistro (>= 0.7.5), sudo | ||
Conflicts: python-rosdep (<< 0.18.0), python-rosdep2 | ||
Conflicts3: python3-rosdep (<< 0.18.0), python3-rosdep2 | ||
Replaces: python-rosdep (<< 0.18.0) | ||
Replaces3: python3-rosdep (<< 0.18.0) | ||
Copyright-File: LICENSE | ||
Suite: xenial yakkety zesty artful bionic cosmic disco eoan jessie stretch buster | ||
X-Python3-Version: >= 3.4 | ||
Setup-Env-Vars: SKIP_PYTHON_SCRIPTS=1 |