Hi, I'm trying to deploy a python app which must contain a data directory inside the egg package. To do so i modified the MANIFEST.in content as follows:
include *.txt *.ini *.cfg *.rst recursive-include whisperer *.ico *.png *.css *.gif *.jpg *.pt *.txt *.mak *.mako *.js *.html *.xml recursive-include algorithms *.m *.mat The directory i want to add is "algorithms" and includes .m and .mat files from matlab. Now if i do python setup.py sdist i can see the package with the data directory in it but if i install that package or if i do a python setup.py install the "algorithms" directory is not installed. This is my setup.py: import os import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.txt')).read() CHANGES = open(os.path.join(here, 'CHANGES.txt')).read() requires = [ 'pyramid', 'repoze.tm2>=1.0b1', # default_commit_veto 'sqlalchemy', 'zope.sqlalchemy', 'WebError', ] if sys.version_info[:3] < (2,5,0): requires.append('pysqlite') setup(name='whisperer', version='0.0', description='whisperer', long_description=README + '\n\n' + CHANGES, classifiers=[ "Programming Language :: Python", "Framework :: Pylons", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", ], author='', author_email='', url='', keywords='web pylons pyramid', packages=find_packages(), include_package_data=True, zip_safe=False, install_requires = requires, tests_require = requires, test_suite="whisperer", entry_points = """\ [paste.app_factory] main = whisperer:main """, paster_plugins=['pyramid'], ) Does anyone know why does it happen? Thanks -- Vincenzo Ampolo http://vincenzo-ampolo.net http://goshawknest.wordpress.com -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.