old_contents: from distutils.core import setup
  from glob import glob
  
  setup(name='hermes-gui',
        version='0.1',
        packages=[
            'hermesgui',
            'hermesgui.acmelab',
            'hermesgui.core',
            'hermesgui.core.views',
            ],
        package_data={
            'hermesgui.acmelab': ['images/*'],
            'hermesgui.core': ['images/*.png'],
            },
        scripts = ['hermes-gui.py'],
        data_files = [('share/hermesgui/data/', glob("data/*"))],
        )
  
new_contents: from distutils.core import setup
  from glob import glob
  
  setup(name='hermes-gui',
        version='0.1',
        packages=[
            'hermesgui',
            'hermesgui.acmelab',
            'hermesgui.core',
            'hermesgui.core.views',
            ],
        package_data={
            'hermesgui.acmelab': ['images/*'],
            'hermesgui.core': ['images/*.png'],
            },
        scripts = ['hermes-gui.py'],
        data_files = [
            ('share/hermesgui/data/', glob("data/*.mesh")),
            ('share/hermesgui/data/agros2d/', glob("data/agros2d/*")),
            ],
        )
  
subject: Install all data correctly