Skip to content

Commit

Permalink
xml_reflection: Refactoring into catkin package. Trying to figure out…
Browse files Browse the repository at this point in the history
… how to manage source setup.sh for development...
  • Loading branch information
eacousineau committed Jul 11, 2013
1 parent d2897a1 commit 9938e83
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pyc
build/
*~
1 change: 1 addition & 0 deletions urdf_parser_py/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include $(shell rospack find mk)/cmake.mk
2 changes: 2 additions & 0 deletions urdf_parser_py/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ Xml Robot Description Format (URDF).
<buildtool_depend>catkin</buildtool_depend>
<build_depend>rospy</build_depend>
<run_depend>rospy</run_depend>
<run_depend>xml_reflection</run_depend>

<export>
<rosdoc config="rosdoc.yaml" />
<python path="${prefix}/src"/>
</export>
</package>
6 changes: 6 additions & 0 deletions xml_reflection/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cmake_minimum_required(VERSION 2.8.3)
project(xml_reflection)

find_package(catkin REQUIRED COMPONENTS rospy)
catkin_python_setup()
catkin_package()
1 change: 1 addition & 0 deletions xml_reflection/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include $(shell rospack find mk)/cmake.mk
Empty file removed xml_reflection/ROS_NOBUILD
Empty file.
17 changes: 0 additions & 17 deletions xml_reflection/manifest.xml

This file was deleted.

23 changes: 23 additions & 0 deletions xml_reflection/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<package>
<name>xml_reflection</name>
<version>0.1.0</version>
<description>

Reflection a la SDF from Gazebo.

</description>
<author email="[email protected]">Eric Cousineau</author>
<maintainer email="[email protected]">Eric Cousineau</maintainer>

<license>BSD</license>
<url type="website">http://ros.org/wiki/xml_reflection</url>

<buildtool_depend>catkin</buildtool_depend>
<build_depend>rospy</build_depend>
<run_depend>rospy</run_depend>

<export>
<python path="${prefix}/src"/>
</export>
</package>
11 changes: 11 additions & 0 deletions xml_reflection/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env python

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
packages=['xml_reflection'],
package_dir={'': 'src'}
)

setup(**d)

0 comments on commit 9938e83

Please sign in to comment.