#!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.package import parse_package_for_distutils

d = parse_package_for_distutils()
d['packages'] = ['dynamic_reconfigure']
d['package_dir'] = {'': 'src'}
d['requires'] = ['roslib', 'rospy', 'rosservice']

setup(**d)

#!/usr/bin/env python

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
    packages=['dynamic_reconfigure'],
    package_dir={'': 'src'},
    requires=['roslib', 'rospy', 'rosservice']
)

setup(**d)

update setup() to use generate_distutils_setup