setup.py / MANIFEST.in: add translations and login templates
This commit is contained in:
parent
76d3bb1ef7
commit
6800ecadeb
@ -5,8 +5,11 @@ include django-registration-dj16-fix.diff
|
|||||||
recursive-include docs *
|
recursive-include docs *
|
||||||
recursive-exclude docs *.pyc
|
recursive-exclude docs *.pyc
|
||||||
recursive-exclude docs *.pyo
|
recursive-exclude docs *.pyo
|
||||||
|
recursive-include nsupdate/locale *.po
|
||||||
|
recursive-include nsupdate/locale *.mo
|
||||||
recursive-include nsupdate/static *
|
recursive-include nsupdate/static *
|
||||||
recursive-include nsupdate/templates *
|
recursive-include nsupdate/templates *
|
||||||
|
recursive-include nsupdate/login/templates *
|
||||||
recursive-include nsupdate/main/templates *
|
recursive-include nsupdate/main/templates *
|
||||||
recursive-include nsupdate/accounts/templates *
|
recursive-include nsupdate/accounts/templates *
|
||||||
prune docs/_build
|
prune docs/_build
|
||||||
|
4
setup.py
4
setup.py
@ -35,12 +35,16 @@ setup(
|
|||||||
'static/*.html',
|
'static/*.html',
|
||||||
'static/*.png',
|
'static/*.png',
|
||||||
'static/css/*.css',
|
'static/css/*.css',
|
||||||
|
'locale/*/LC_MESSAGES/*',
|
||||||
],
|
],
|
||||||
'nsupdate.accounts': [
|
'nsupdate.accounts': [
|
||||||
'templates/accounts/*.html',
|
'templates/accounts/*.html',
|
||||||
'templates/registration/*.html',
|
'templates/registration/*.html',
|
||||||
'templates/registration/*.txt',
|
'templates/registration/*.txt',
|
||||||
],
|
],
|
||||||
|
'nsupdate.login': [
|
||||||
|
'templates/*.html',
|
||||||
|
],
|
||||||
'nsupdate.main': [
|
'nsupdate.main': [
|
||||||
'templates/main/*.html',
|
'templates/main/*.html',
|
||||||
'templates/main/includes/*.html',
|
'templates/main/includes/*.html',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user