From f0161617a91e8648328cba5bb0284cffd121ff61 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 22 Nov 2012 09:37:32 +0100 Subject: [PATCH] packaging fixes --- MANIFEST.in | 3 +++ requirements-dev.txt | 1 - setup.py | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100755 MANIFEST.in delete mode 100644 requirements-dev.txt diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100755 index 0000000..d4831cb --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +recursive-include fnpdjango/templates *.txt *.html +recursive-include fnpdjango/locale *.po *.mo +recursive-include fnpdjango/deploy/templates *.template diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100644 index 108a2ec..0000000 --- a/requirements-dev.txt +++ /dev/null @@ -1 +0,0 @@ -fabric>=1.5,<1.6 diff --git a/setup.py b/setup.py index 5020a9b..1aa7406 100755 --- a/setup.py +++ b/setup.py @@ -27,9 +27,9 @@ setup( author_email='radoslaw.czajka@nowoczesnapolska.org.pl', url = '', packages=find_packages(), - package_data={'fnpdjango': - whole_trees('fnpdjango', ['templates', 'locale']) + - whole_trees('fnpdjango/deploy', ['templates']) + package_data={ + 'fnpdjango': whole_trees('fnpdjango', ['templates', 'locale']), + 'fnpdjango.deploy': ['templates/*.template'], }, scripts=[ 'bin/git-archive-all.sh', -- 2.20.1