From: Elrond Date: Thu, 26 Jan 2012 20:33:49 +0000 (+0100) Subject: Packaging improvement by Clint Byrum from Debian/Ubuntu X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d595374d180afef2f468e75b50331ea8e1e621ed;p=mediagoblin.git Packaging improvement by Clint Byrum from Debian/Ubuntu 1) MANIFEST.in missed a bunch of things, especially config_spec.ini. 2) You need to specify include_package_data=True in setup.py to actually activate MANIFEST.in it seems. Thanks go to Clint Byrum! --- diff --git a/MANIFEST.in b/MANIFEST.in index b1f93dba..956f44c9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,5 @@ recursive-include mediagoblin/templates *.html -recursive-include mediagoblin/static *.js *.css *.png *.svg +recursive-include mediagoblin/static *.js *.css *.png *.svg *.ico recursive-include mediagoblin/tests *.ini recursive-include docs *.rst *.html - +include mediagoblin/config_spec.ini diff --git a/setup.py b/setup.py index 293f3f03..ca7d4ae2 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ setup( version=get_version(), packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), zip_safe=False, + include_package_data = True, # scripts and dependencies install_requires=[ 'setuptools',