fix setup.py
add missing stuff fix problematic package_data patterns: static/* also matched the "static/css" directory and then it falls over that at install time, because it wants to copy that like a file. :-(
This commit is contained in:
parent
596b03b2b0
commit
06b2f94206
9
setup.py
9
setup.py
@ -20,17 +20,20 @@ setup(
|
||||
packages=find_packages(exclude=['_tests', ]),
|
||||
package_data={
|
||||
'nsupdate': [
|
||||
'templates/*.html',
|
||||
'templates/includes/*.html',
|
||||
'static/*.html',
|
||||
'static/css/*',
|
||||
'templates/*',
|
||||
'static/*.png',
|
||||
'static/css/*.css',
|
||||
],
|
||||
'nsupdate.accounts': [
|
||||
'templates/accounts/*.html',
|
||||
'templates/registration/*.html',
|
||||
'templates/registration/*.txt',
|
||||
],
|
||||
'nsupdate.main': [
|
||||
'templates/main/*.html',
|
||||
'templates/main/includes/*',
|
||||
'templates/main/includes/*.html',
|
||||
],
|
||||
},
|
||||
include_package_data=True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user