diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-01-26 21:33:49 +0100 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2012-01-26 21:33:49 +0100 |
commit | d595374d180afef2f468e75b50331ea8e1e621ed (patch) | |
tree | eb15aee7623561a205e23865fa16a28b0edf657e | |
parent | c47a03b909ecd97cab5b144d0cab007b62b92a90 (diff) | |
download | mediagoblin-d595374d180afef2f468e75b50331ea8e1e621ed.tar.lz mediagoblin-d595374d180afef2f468e75b50331ea8e1e621ed.tar.xz mediagoblin-d595374d180afef2f468e75b50331ea8e1e621ed.zip |
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!
-rw-r--r-- | MANIFEST.in | 4 | ||||
-rw-r--r-- | setup.py | 1 |
2 files changed, 3 insertions, 2 deletions
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 @@ -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', |