Permalink
Browse files

update setup() to use generate_distutils_setup

  • Loading branch information...
1 parent 1477c74 commit dc6f6f0dc79caf11eb2585083acc67219d4387b5 @dirk-thomas dirk-thomas committed Dec 7, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 setup.py
View
@@ -1,10 +1,11 @@
#!/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'] = ['genmsg']
-d['package_dir'] = {'': 'src'}
+d = generate_distutils_setup(
+ packages=['genmsg'],
+ package_dir={'': 'src'}
+)
setup(**d)

0 comments on commit dc6f6f0

Please sign in to comment.