more robust setup.py for cleanups
[sfa.git] / setup.py
index e055790..e6c041a 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,11 @@ from glob import glob
 import shutil
 from distutils.core import setup
 
-from sfa.util.version import version_tag
+# while cleaning up we might not have this..
+try:
+    from sfa.util.version import version_tag
+except:
+    version_tag='cleaningup'
 
 scripts = glob("clientbin/*.py") + \
     [ 
@@ -36,6 +40,7 @@ packages = [
     'sfa/rspecs',
     'sfa/rspecs/elements',
     'sfa/rspecs/elements/versions',
+    'sfa/rspecs/elements/v3',
     'sfa/rspecs/versions',
     'sfa/client',
     'sfa/planetlab',
@@ -43,6 +48,7 @@ packages = [
     'sfa/dummy',
     'sfa/openstack',
     'sfa/federica',
+    'sfa/senslab',
     'sfatables',
     'sfatables/commands',
     'sfatables/processors',
@@ -54,6 +60,7 @@ if not os.path.isfile('/etc/redhat-release'): initscripts.append('functions.sfa'
 data_files = [ ('/etc/sfa/', [ 'config/aggregates.xml',
                               'config/registries.xml',
                               'config/default_config.xml',
+                              'config/api_versions.xml',
                               'config/sfi_config',
                               'config/topology',
                               'sfa/managers/pl/pl.rng',