tentatively fix packaging
Thierry Parmentelat [Wed, 25 Jan 2012 20:09:27 +0000 (21:09 +0100)]
setup.py

index d98a1ed..f49ab7c 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -64,8 +64,8 @@ data_files = [ ('/etc/sfa/', [ 'config/aggregates.xml',
                ('/etc/sfatables/matches/', glob('sfatables/matches/*.xml')),
                ('/etc/sfatables/targets/', glob('sfatables/targets/*.xml')),
                ('/etc/init.d/', [ "init.d/%s"%x for x in initscripts ]),
-               ('/usr/share/sfa/migrations', [ 'sfa/storage/migrations/*' ] ),
-               ('/usr/share/sfa/migrations/versions', [ 'sfa/storage/migrations/versions/*' ] ),
+               ('/usr/share/sfa/migrations', [ glob('sfa/storage/migrations/*') ] ),
+               ('/usr/share/sfa/migrations/versions', [ glob('sfa/storage/migrations/versions/*') ] ),
                ('/usr/share/sfa/examples/', glob('sfa/examples/*' ) + [ 'cron.d/sfa.cron' ] ),
               ]