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

# fetch values from package.xml
setup_args = generate_distutils_setup(
    packages=['rospilot', 'rospilot.assets', 'vlc_server'],
    package_dir={'': 'src'},
    package_data={'rospilot.assets': ['*', '**/*']},
    requires=['std_msgs', 'rospy']
)

setup(**setup_args)


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

# fetch values from package.xml
setup_args = generate_distutils_setup(
    packages=['rospilot', 'rospilot.assets', 'vlc_server'],
    package_dir={'': 'src'},
    package_data={'rospilot.assets': ['*.*', '*/*.*', '*/*/*.*']},
    requires=['std_msgs', 'rospy']
)

setup(**setup_args)

Use more standard compliant glob syntax
Use more standard compliant glob syntax

  
  from distutils.core import setup
  from catkin_pkg.python_setup import generate_distutils_setup
  
  # fetch values from package.xml
  setup_args = generate_distutils_setup(
      packages=['rospilot', 'rospilot.assets', 'vlc_server'],
      package_dir={'': 'src'},
-     package_data={'rospilot.assets': ['*', '**/*']},
+     package_data={'rospilot.assets': ['*.*', '*/*.*', '*/*/*.*']},
      requires=['std_msgs', 'rospy']
  )
  
  setup(**setup_args)
  
Use more standard compliant glob syntax
## Code Before:

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

# fetch values from package.xml
setup_args = generate_distutils_setup(
    packages=['rospilot', 'rospilot.assets', 'vlc_server'],
    package_dir={'': 'src'},
    package_data={'rospilot.assets': ['*', '**/*']},
    requires=['std_msgs', 'rospy']
)

setup(**setup_args)

## Instruction:
Use more standard compliant glob syntax
## Code After:

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

# fetch values from package.xml
setup_args = generate_distutils_setup(
    packages=['rospilot', 'rospilot.assets', 'vlc_server'],
    package_dir={'': 'src'},
    package_data={'rospilot.assets': ['*.*', '*/*.*', '*/*/*.*']},
    requires=['std_msgs', 'rospy']
)

setup(**setup_args)
