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:
Thomas Waldmann 2013-11-09 20:00:57 +01:00
parent 596b03b2b0
commit 06b2f94206

View File

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