Navigation Menu

Skip to content

Commit

Permalink
Updated setup.py to use generate_distutils_setup()
Browse files Browse the repository at this point in the history
  • Loading branch information
hershwg committed Dec 14, 2012
1 parent f79b413 commit fecad41
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions setup.py
@@ -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'] = ['rviz']
d['package_dir'] = {'': 'src/python_bindings'}
d['install_requires'] = ['roslib', 'rospkg', 'python_qt_bindings']
d = generate_distutils_setup(
packages = ['rviz'],
package_dir = {'': 'src/python_bindings'},
requires = ['roslib', 'rospkg', 'python_qt_bindings']
)

setup(**d)

0 comments on commit fecad41

Please sign in to comment.