Hi!<br><br>I was following the documentation about distutils [1] in order to install my application in a python-way. But installing it in /usr/local (following the official doc [2] too) with<br><br>$ sudo python setup.py install --prefix=/usr/local<br>

<br>The data files are created inside the python package, in /usr/local/lib/python2.6/dist-packages... The structure is very similar at the given in [1]:<br><br>setup.py<br>foo/__init.py__<br>foo(gui.py<br>foo/core.py<br>

foo/data/gui/main.glade<br>foo/data/images/logo.png<br><br>And the setup.py:<br><br>from setuptools import setup<br><br>files = ['data/gui/*.glade', 'data/icons/*.png']<br><br>setup(name='foo',<br>

      version='1.0',<br>      author='John Doe',<br>      author_email='<a href="mailto:john.doe@example.com">john.doe@example.com</a>',<br>      packages=['foo'],<br>      dpackage_dir={'foo': 'foo'},<br>

      package_data={'foo': files}, )<br><br>What I'm missing?<br><br>Regards,<br><br>[1] <a href="http://docs.python.org/distutils/setupscript.html#installing-package-data">http://docs.python.org/distutils/setupscript.html#installing-package-data</a><br>

[2] <a href="http://docs.python.org/install/#alternate-installation-unix-the-prefix-scheme">http://docs.python.org/install/#alternate-installation-unix-the-prefix-scheme</a><br clear="all"><br>-- <br>Pablo Recio Quijano<br>

<br>Desarrollador Django<br>Yaco Sistemas - <a href="http://www.yaco.es/" target="_blank">http://www.yaco.es/</a><br><br>