roscreate: created setup.py and package.xml and updated CMakeLists.txt with catkin_package() and catkin_package_export()

This commit is contained in:
Dave Hershberger 2012-09-21 00:05:08 +00:00
parent 58573f2fd3
commit b5b0022e1b
4 changed files with 31 additions and 3 deletions

View File

@ -1,6 +1,7 @@
cmake_minimum_required(VERSION 2.8)
project(roscreate)
find_package(catkin REQUIRED)
catkin_project(${PROJECT_NAME})
catkin_package()
catkin_package_export()
catkin_add_nosetests(test)

View File

@ -0,0 +1,17 @@
<package>
<name>roscreate</name>
<version>1.9.9</version>
<description>
roscreate contains a tool that assists in the creation of ROS filesystem resources.
It provides: <tt>roscreate-pkg</tt>, which creates a new package directory,
including the appropriate build and manifest files.
</description>
<maintainer email="dthomas@willowgarage.com">Dirk Thomas</maintainer>
<license>BSD</license>
<url type="website">http://ros.org/wiki/roscreate</url>
<author email="kwc@willowgarage.com">Ken Conley</author>
<build_depend>catkin</build_depend>
</package>

12
tools/roscreate/setup.py Normal file
View File

@ -0,0 +1,12 @@
#!/usr/bin/env python
from distutils.core import setup
from catkin.package import parse_package_for_distutils
d = parse_package_for_distutils()
d['packages'] = ['roscreate']
d['package_dir'] = {'': 'src'}
d['install_requires' = ['rospkg']
d['scripts'] = ['scripts/roscreate-pkg']
setup(**d)

View File

@ -18,5 +18,3 @@
<rosdoc config="rosdoc.yaml"/>
</export>
</package>