Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated setup.py to use generate_distutils_setup()
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |