Add catkin decorations so that roslib.message is found by generated
messages. All this does (so far) is make ros "buildable" in a catkin workspace and create the forwarding __init__.py so that core/roslib/src/ is in the generated pythonpath.
This commit is contained in:
parent
df011f37a5
commit
fc992623c5
|
@ -1,4 +1,9 @@
|
|||
cmake_minimum_required(VERSION 2.4.6)
|
||||
if(CATKIN)
|
||||
include(catkin.cmake)
|
||||
return()
|
||||
endif()
|
||||
|
||||
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
|
||||
|
||||
set(ROSPACK_MAKEDIST true)
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
project(ros)
|
||||
find_package(catkin)
|
||||
|
||||
foreach(subdir
|
||||
core/roslib
|
||||
)
|
||||
add_subdirectory(${subdir})
|
||||
endforeach()
|
||||
|
||||
catkin_package(ros)
|
|
@ -1,3 +1,8 @@
|
|||
if(CATKIN)
|
||||
include(catkin.cmake)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(ROSBUILD)
|
||||
# this is for rosbuild2 integration, you can ignore this
|
||||
include(rosbuild.cmake OPTIONAL)
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
project(roslib)
|
||||
find_package(catkin)
|
||||
|
||||
install_cmake_infrastructure(roslib
|
||||
VERSION 0.0.1
|
||||
PYTHONPATH src
|
||||
)
|
||||
|
||||
catkin_package(roslib)
|
||||
enable_python(roslib)
|
||||
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/env python
|
||||
#
|
||||
# TDS 2011/11/28
|
||||
# PROTOTYPE FILE USED BY CATKIN
|
||||
# IF YOU DON'T KNOW WHAT THAT MEANS, IGNORE THIS FILE
|
||||
#
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
import sys
|
||||
sys.path.insert(0, 'src')
|
||||
|
||||
#from genpy import __version__
|
||||
|
||||
setup(name='roslib',
|
||||
version= "6.6.6",
|
||||
packages=['roslib'],
|
||||
package_dir = {'':'src'},
|
||||
install_requires=[],
|
||||
scripts = [],
|
||||
author = "Ken Conley",
|
||||
author_email = "kwc@willowgarage.com",
|
||||
url = "http://www.ros.org/wiki/roslib",
|
||||
download_url = "http://pr.willowgarage.com/downloads/roslib/",
|
||||
keywords = ["ROS"],
|
||||
classifiers = [
|
||||
"Programming Language :: Python",
|
||||
"License :: OSI Approved :: BSD License" ],
|
||||
description = "ROS msg/srv Python generation",
|
||||
long_description = """\
|
||||
roslib!
|
||||
""",
|
||||
license = "BSD"
|
||||
)
|
|
@ -0,0 +1,22 @@
|
|||
#
|
||||
# TDS: 11/2011
|
||||
# PROTOTYPE - PROTOTYPE - PROTOTYPE
|
||||
# If you are surprised to see this here, just ignore it.
|
||||
# Many fields are probably inaccurate.
|
||||
#
|
||||
Package: ros
|
||||
Version: 3.4.5
|
||||
Section: misc
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends} python-empy, cmake, make,
|
||||
Build-Depends: debhelper (>= 7), cmake, gcc, make, python, python-empy, python-setuptools
|
||||
Description: ROS Core
|
||||
Author: Ken Conley et al
|
||||
Maintainer: Ken Conley
|
||||
Homepage: http://www.ros.org
|
||||
|
||||
Catkin-ProjectName: ros
|
||||
Catkin-CopyrightType: willowgarage
|
||||
Catkin-Depends: catkin
|
||||
Catkin-DebRulesType: python_distutils
|
Loading…
Reference in New Issue