Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

setup.py and MANIFEST.in - duplicating inclusion of files?

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


aljosa.mohorovic at gmail

Nov 27, 2009, 10:22 AM

Post #1 of 1 (138 views)
Permalink
setup.py and MANIFEST.in - duplicating inclusion of files?

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
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.