X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=cb3e98e8776c0b7b965e5adbb8038bd1db4b14af;hb=dbd15819d950b69d0c6ba5527660969d0754ad29;hp=033a7d4d5e771b52e8ac82d5fcc72787d8db6593;hpb=3ff55717c6b2a960a0bfc3d0b88f7b2f70323db5;p=sfa.git diff --git a/setup.py b/setup.py index 033a7d4d..cb3e98e8 100755 --- a/setup.py +++ b/setup.py @@ -9,15 +9,12 @@ from glob import glob import shutil from distutils.core import setup -scripts = glob("sfa/clientbin/*.py") + \ +scripts = glob("clientbin/*.py") + \ [ 'config/sfa-config-tty', + 'config/sfa-config', 'config/gen-sfa-cm-config.py', - 'sfa/importer/sfa-import-plc.py', - 'sfa/importer/sfa-nuke-plc.py', - 'sfa/server/sfa-ca.py', 'sfa/server/sfa-start.py', - 'sfa/server/sfa-clean-peer-records.py', 'sfa/server/sfa_component_setup.py', 'sfatables/sfatables', 'keyconvert/keyconvert.py', @@ -26,21 +23,32 @@ scripts = glob("sfa/clientbin/*.py") + \ packages = [ 'sfa', - 'sfa/openstack', 'sfa/trust', 'sfa/storage', 'sfa/util', - 'sfa/client', 'sfa/server', 'sfa/methods', 'sfa/generic', 'sfa/managers', 'sfa/importer', - 'sfa/plc', + + + + 'sfa/senslab', + + + + + 'sfa/rspecs', 'sfa/rspecs/elements', 'sfa/rspecs/elements/versions', 'sfa/rspecs/versions', + 'sfa/client', + 'sfa/planetlab', + 'sfa/nitos', + 'sfa/openstack', + 'sfa/federica', 'sfatables', 'sfatables/commands', 'sfatables/processors', @@ -64,7 +72,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/', [ 'sfa/storage/sfa.sql' ] ), + ('/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' ] ), ]