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-include nsupdate/static *
|
||||
recursive-include nsupdate/templates *
|
||||
recursive-include nsupdate/main/static *
|
||||
recursive-include nsupdate/main/templates *
|
||||
recursive-include nsupdate/accounts/static *
|
||||
recursive-include nsupdate/accounts/templates *
|
||||
prune docs/_build
|
||||
|
||||
|
21
setup.py
21
setup.py
@ -19,12 +19,21 @@ setup(
|
||||
keywords="dyndns ddns dynamic dns django",
|
||||
packages=find_packages(exclude=['_tests', ]),
|
||||
package_data={
|
||||
'nsupdate.static': ['*', ],
|
||||
'nsupdate.templates': ['*', ],
|
||||
'nsupdate.main.static': ['*', ],
|
||||
'nsupdate.main.templates': ['*', ],
|
||||
'nsupdate.accounts.static': ['*', ],
|
||||
'nsupdate.accounts.templates': ['*', ],
|
||||
'nsupdate': [
|
||||
'static/*.gif',
|
||||
'static/*.html',
|
||||
'static/css/*',
|
||||
'static/screenshots/*',
|
||||
'templates/*',
|
||||
],
|
||||
'nsupdate.accounts': [
|
||||
'templates/accounts/*.html',
|
||||
'templates/registration/*.html',
|
||||
],
|
||||
'nsupdate.main': [
|
||||
'templates/main/*.html',
|
||||
'templates/main/includes/*',
|
||||
],
|
||||
},
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
|
Loading…
x
Reference in New Issue
Block a user