setup.py and MANIFEST.in - duplicating inclusion of files?
Aljosa Mohorovic
aljosa.mohorovic at gmail.com
Fri Nov 27 13:22:51 EST 2009
the only way i can get to distribute template files when using "python
setup.py sdist" is to declare it both in setup.py and MANIFEST.in.
setup.py:
> package_data={'myapp':['templates/*.html', 'templates/admin/*.html'],}
MANIFEST.in:
> recursive-include myapp/templates *.html
am i doing something wrong or is this correct? if it's correct, why?
Aljosa Mohorovic
More information about the Python-list
mailing list