From 2b25448cb4d40fc6044b6f996e24f8958508f5dd Mon Sep 17 00:00:00 2001 From: Aljosa Mohorovic Date: Fri, 27 Nov 2009 16:02:02 +0100 Subject: [PATCH] updated MANIFEST.in and setup.py to include templates and templatetags when installing via "python setup.py install" --- MANIFEST.in | 3 ++- setup.py | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index df37a30..094b576 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ include AUTHORS include LICENSE -include README \ No newline at end of file +include README +recursive-include socialregistration/templates *.html diff --git a/setup.py b/setup.py index 7110079..10884c8 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,8 @@ 'Programming Language :: Python', 'Framework :: Django', ], - packages=['socialregistration'] + packages=['socialregistration', 'socialregistration.templatetags'], + package_data={'socialregistration': ['templates/socialregistration/*.html'],} ) if __name__ == '__main__': @@ -33,4 +34,4 @@ setuptools.setup(**METADATA) except ImportError: import distutils.core - distutils.core.setup(**METADATA) \ No newline at end of file + distutils.core.setup(**METADATA)