From 6800ecadeba88c241dedade74311d76c7bb750db Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 28 Aug 2014 00:11:07 +0200 Subject: [PATCH] setup.py / MANIFEST.in: add translations and login templates --- MANIFEST.in | 3 +++ setup.py | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index 9317687..c07b87b 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -5,8 +5,11 @@ include django-registration-dj16-fix.diff recursive-include docs * recursive-exclude docs *.pyc recursive-exclude docs *.pyo +recursive-include nsupdate/locale *.po +recursive-include nsupdate/locale *.mo recursive-include nsupdate/static * recursive-include nsupdate/templates * +recursive-include nsupdate/login/templates * recursive-include nsupdate/main/templates * recursive-include nsupdate/accounts/templates * prune docs/_build diff --git a/setup.py b/setup.py index ba6a874..42cd01d 100644 --- a/setup.py +++ b/setup.py @@ -35,12 +35,16 @@ setup( 'static/*.html', 'static/*.png', 'static/css/*.css', + 'locale/*/LC_MESSAGES/*', ], 'nsupdate.accounts': [ 'templates/accounts/*.html', 'templates/registration/*.html', 'templates/registration/*.txt', ], + 'nsupdate.login': [ + 'templates/*.html', + ], 'nsupdate.main': [ 'templates/main/*.html', 'templates/main/includes/*.html',