From 06b2f942065660664fb9b9c4b66681a2f3c2b39c Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 9 Nov 2013 20:00:57 +0100 Subject: [PATCH] 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. :-( --- setup.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 2c1b245..dae5e88 100644 --- a/setup.py +++ b/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,