#!/usr/bin/env python

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

d = generate_distutils_setup(
    packages=['xacro'],
    package_dir={'': 'src'},
    scripts=['scripts/xacro.py']
)

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=['xacro'],
    package_dir={'': 'src'}
)

setup(**d)

Remove bin copy of xacro.py
Remove bin copy of xacro.py