Properly specify package data
This commit is contained in:
parent
b161265cad
commit
570dc4f94a
@ -5,9 +5,7 @@ recursive-exclude docs *.pyc
|
|||||||
recursive-exclude docs *.pyo
|
recursive-exclude docs *.pyo
|
||||||
recursive-include nsupdate/static *
|
recursive-include nsupdate/static *
|
||||||
recursive-include nsupdate/templates *
|
recursive-include nsupdate/templates *
|
||||||
recursive-include nsupdate/main/static *
|
|
||||||
recursive-include nsupdate/main/templates *
|
recursive-include nsupdate/main/templates *
|
||||||
recursive-include nsupdate/accounts/static *
|
|
||||||
recursive-include nsupdate/accounts/templates *
|
recursive-include nsupdate/accounts/templates *
|
||||||
prune docs/_build
|
prune docs/_build
|
||||||
|
|
||||||
|
21
setup.py
21
setup.py
@ -19,12 +19,21 @@ setup(
|
|||||||
keywords="dyndns ddns dynamic dns django",
|
keywords="dyndns ddns dynamic dns django",
|
||||||
packages=find_packages(exclude=['_tests', ]),
|
packages=find_packages(exclude=['_tests', ]),
|
||||||
package_data={
|
package_data={
|
||||||
'nsupdate.static': ['*', ],
|
'nsupdate': [
|
||||||
'nsupdate.templates': ['*', ],
|
'static/*.gif',
|
||||||
'nsupdate.main.static': ['*', ],
|
'static/*.html',
|
||||||
'nsupdate.main.templates': ['*', ],
|
'static/css/*',
|
||||||
'nsupdate.accounts.static': ['*', ],
|
'static/screenshots/*',
|
||||||
'nsupdate.accounts.templates': ['*', ],
|
'templates/*',
|
||||||
|
],
|
||||||
|
'nsupdate.accounts': [
|
||||||
|
'templates/accounts/*.html',
|
||||||
|
'templates/registration/*.html',
|
||||||
|
],
|
||||||
|
'nsupdate.main': [
|
||||||
|
'templates/main/*.html',
|
||||||
|
'templates/main/includes/*',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user