setup.py / MANIFEST.in: add translations and login templates

This commit is contained in:
Thomas Waldmann 2014-08-28 00:11:07 +02:00
parent 76d3bb1ef7
commit 6800ecadeb
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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',