update setup() to use generate_distutils_setup
This commit is contained in:
parent
c10c02c129
commit
c1d73abb73
|
@ -1,11 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from distutils.core import setup
|
||||
from catkin_pkg.package import parse_package_for_distutils
|
||||
from catkin_pkg.python_setup import generate_distutils_setup
|
||||
|
||||
d = parse_package_for_distutils()
|
||||
d['packages'] = ['ros', 'roslib']
|
||||
d['package_dir'] = {'': 'src'}
|
||||
d['requires'] = ['rospkg']
|
||||
d = generate_distutils_setup(
|
||||
packages=['ros', 'roslib'],
|
||||
package_dir={'': 'src'},
|
||||
requires=['rospkg']
|
||||
)
|
||||
|
||||
setup(**d)
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from distutils.core import setup
|
||||
from catkin_pkg.package import parse_package_for_distutils
|
||||
from catkin_pkg.python_setup import generate_distutils_setup
|
||||
|
||||
d = parse_package_for_distutils()
|
||||
d['packages'] = ['rosboost_cfg']
|
||||
d['package_dir'] = {'': 'src'}
|
||||
d['scripts'] = ['scripts/rosboost-cfg']
|
||||
d = generate_distutils_setup(
|
||||
packages=['rosboost_cfg'],
|
||||
package_dir={'': 'src'},
|
||||
scripts=['scripts/rosboost-cfg']
|
||||
)
|
||||
|
||||
setup(**d)
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from distutils.core import setup
|
||||
from catkin_pkg.package import parse_package_for_distutils
|
||||
from catkin_pkg.python_setup import generate_distutils_setup
|
||||
|
||||
d = parse_package_for_distutils()
|
||||
d['packages'] = ['rosclean']
|
||||
d['package_dir'] = {'': 'src'}
|
||||
d['scripts'] = ['scripts/rosclean']
|
||||
d['requires'] = ['rospkg']
|
||||
d = generate_distutils_setup(
|
||||
packages=['rosclean'],
|
||||
package_dir={'': 'src'},
|
||||
scripts=['scripts/rosclean'],
|
||||
requires=['rospkg']
|
||||
)
|
||||
|
||||
setup(**d)
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from distutils.core import setup
|
||||
from catkin_pkg.package import parse_package_for_distutils
|
||||
from catkin_pkg.python_setup import generate_distutils_setup
|
||||
|
||||
d = parse_package_for_distutils()
|
||||
d['packages'] = ['roscreate']
|
||||
d['package_dir'] = {'': 'src'}
|
||||
d['scripts'] = ['scripts/roscreate-pkg']
|
||||
d['requires'] = ['roslib', 'rospkg']
|
||||
d = generate_distutils_setup(
|
||||
packages=['roscreate'],
|
||||
package_dir={'': 'src'},
|
||||
scripts=['scripts/roscreate-pkg'],
|
||||
requires=['roslib', 'rospkg']
|
||||
)
|
||||
|
||||
setup(**d)
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from distutils.core import setup
|
||||
from catkin_pkg.package import parse_package_for_distutils
|
||||
from catkin_pkg.python_setup import generate_distutils_setup
|
||||
|
||||
d = parse_package_for_distutils()
|
||||
d['packages'] = ['rosmake']
|
||||
d['package_dir'] = {'': 'src'}
|
||||
d['scripts'] = ['scripts/rosmake']
|
||||
d['requires'] = ['rospkg']
|
||||
d = generate_distutils_setup(
|
||||
packages=['rosmake'],
|
||||
package_dir={'': 'src'},
|
||||
scripts=['scripts/rosmake'],
|
||||
requires=['rospkg']
|
||||
)
|
||||
|
||||
setup(**d)
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
from distutils.core import setup
|
||||
from catkin_pkg.package import parse_package_for_distutils
|
||||
from catkin_pkg.python_setup import generate_distutils_setup
|
||||
|
||||
d = parse_package_for_distutils()
|
||||
d['packages'] = ['rosunit']
|
||||
d['package_dir'] = {'': 'src'}
|
||||
d['scripts'] = ['scripts/rosunit']
|
||||
d['requires'] = ['rospkg']
|
||||
d = generate_distutils_setup(
|
||||
packages=['rosunit'],
|
||||
package_dir={'': 'src'},
|
||||
scripts=['scripts/rosunit'],
|
||||
requires=['rospkg']
|
||||
)
|
||||
|
||||
setup(**d)
|
||||
|
|
Loading…
Reference in New Issue