On Sun, Dec 13, 2009 at 3:08 PM, Lukas Hetzenecker <[email protected]> wrote:
> Hello,
>
> i have the following folder structure:

Hi Lukas, your project layout is a bit exotic but looks fine for what
you want to do.

You just need to add an extra file called MANIFEST.in alongside
setup.py, with this content:

    recursive-include application *.py
    include application/INSTALL
    include application/Changelog
    include application/LICENCE

This is a template file, that'll make sure package_data files are
included in the archive then installed.

Notice that  this has changed in version 2.7: All the files that match
package_data will be added to the MANIFEST file if no template is
provided.

IOW this MANIFEST.in won't be necessary anymore in your case in the future

see http://docs.python.org/dev/distutils/sourcedist.html#manifest

Tarek
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to