Packaging improvement by Clint Byrum from Debian/Ubuntu
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 26 Jan 2012 20:33:49 +0000 (21:33 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 26 Jan 2012 20:33:49 +0000 (21:33 +0100)
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!

MANIFEST.in
setup.py

index b1f93dba1de17b9ececf2ce6618569d259b4139a..956f44c9b7874f3b3cb34a168a54a75afc2f76dd 100644 (file)
@@ -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
index 293f3f03d5615bdf28976fb6c73fa6ce7ee1c65e..ca7d4ae2ce5f58a01128a9365b0c15bc6652d15c 100644 (file)
--- 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',