Codebase list ros-rosinstall-generator / 64bcc9b
Imported Upstream version 0.1.12 Jochen Sprickerhof 7 years ago
6 changed file(s) with 9 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
44 - "3.3"
55 # command to install dependencies
66 install:
7 - pip install argparse catkin-pkg distribute rosdistro rospkg PyYAML
7 - pip install argparse catkin-pkg rosdistro rospkg PyYAML setuptools
88 # command to run tests
99 script:
1010 # This package doesn't have tests yet.
77 setup(
88 name='rosinstall_generator',
99 version=__version__,
10 install_requires=['argparse', 'catkin_pkg >= 0.1.28', 'distribute', 'rosdistro >= 0.3.4', 'rospkg', 'PyYAML'],
10 install_requires=['argparse', 'catkin_pkg >= 0.1.28', 'rosdistro >= 0.3.4', 'rospkg', 'PyYAML', 'setuptools'],
1111 packages=find_packages('src'),
1212 package_dir={'': 'src'},
1313 scripts=['bin/rosinstall_generator'],
3434 Library to generate rosinstall file for set of packages/stacks.
3535 """
3636
37 __version__ = '0.1.11'
37 __version__ = '0.1.12'
130130 return _generate_rosinstall(local_name, repo.url, release_tag, tar=tar)
131131
132132
133 def _generate_rosinstall(local_name, url, release_tag, tar=False):
133 def _generate_rosinstall(local_name, url, release_tag, tar=False, vcs_type=None):
134134 if tar:
135135 # the repository name might be different than repo.name coming from rosdistro
136136 repo_name = os.path.basename(url[:-4])
147147 }]
148148 else:
149149 data = [{
150 'git': {
150 vcs_type or 'git': {
151151 'local-name': local_name,
152152 'uri': url,
153153 'version': release_tag
147147 for repo in repos.values():
148148 if version_tag:
149149 version = repo.release_repository.version.split('-')[0]
150 vcs_type = repo.release_repository.type
150151 else:
151152 version = repo.source_repository.version
152 rosinstall_data += _generate_rosinstall(repo.name, repo.source_repository.url, version, tar=tar)
153 vcs_type = repo.source_repository.type
154 rosinstall_data += _generate_rosinstall(repo.name, repo.source_repository.url, version, tar=tar, vcs_type=vcs_type)
153155 return rosinstall_data
154156
155157
22 Depends3: python3-catkin-pkg (>= 0.1.28), python3-rosdistro (>= 0.3.4), python3-rospkg, python3-yaml
33 Conflicts: python3-rosinstall-generator
44 Conflicts3: python-rosinstall-generator
5 Suite: oneiric precise quantal raring saucy trusty utopic vivid wheezy jessie
5 Suite: oneiric precise quantal raring saucy trusty utopic vivid wily xenial yakkety wheezy jessie
66 X-Python3-Version: >= 3.2