updated setup.py's and install destinations

This commit is contained in:
Dirk Thomas 2012-09-21 20:26:08 +00:00
parent 613574928d
commit 29289cdb25
8 changed files with 17 additions and 19 deletions

View File

@ -27,20 +27,20 @@ endforeach()
# INSTALLATION
install(FILES config/rosconsole.config
DESTINATION ${CATKIN_PROJECT_SHARE_DESTINATION}/config)
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/config)
# setup our backwards-compatibility ROS_ROOT
install(DIRECTORY core/rosbuild/
DESTINATION ${CATKIN_PROJECT_SHARE_DESTINATION}/core/rosbuild
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/core/rosbuild
PATTERN ".svn" EXCLUDE
PATTERN "bin" EXCLUDE
)
install(PROGRAMS
core/rosbuild/bin/check_same_directories.py
core/rosbuild/bin/download_checkmd5.py
DESTINATION ${CATKIN_PROJECT_SHARE_DESTINATION}/core/rosbuild/bin)
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/core/rosbuild/bin)
install(DIRECTORY core/mk/
DESTINATION ${CATKIN_PROJECT_SHARE_DESTINATION}/core/mk
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/core/mk
PATTERN ".svn" EXCLUDE
)

View File

@ -4,6 +4,6 @@ find_package(catkin REQUIRED)
catkin_package()
catkin_package_export()
install(DIRECTORY ,
install(DIRECTORY .
DESTINATION ${CATKIN_GLOBAL_SHARE_DESTINATION}/ros/core/mk
PATTERN ".svn" EXCLUDE)

View File

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

View File

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

View File

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

View File

@ -1,12 +1,12 @@
#!/usr/bin/env python
from distutils.core import setup
from catkin.package import parse_package_for_distutils
from catkin_pkg.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']
d['install_requires'] = ['rospkg']
setup(**d)

View File

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

View File

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