New file setup.py: builds a python package
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 9 Mar 2017 15:28:59 +0000 (16:28 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 9 Mar 2017 17:17:03 +0000 (18:17 +0100)
Change-Id: I60226de64fe73b0603cf46f3b1371309fe7afec3
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
setup.py [new file with mode: 0755]

diff --git a/setup.py b/setup.py
new file mode 100755 (executable)
index 0000000..ee9fd52
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,44 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+#import glob
+
+setup(name='osm-ro',
+      version='1.0',
+      description='OSM Resource Orchestrator',
+      author='ETSI OSM',
+      author_email='alfonso.tiernosepulveda@telefonica.com',
+      maintainer='garciadeblas',
+      maintainer_email='gerardo.garciadeblas@telefonica.com',
+      url='https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary',
+      license='Apache 2.0',
+      #packages=['ro-server', 'ro-client'],
+      #py_modules=glob.glob('*.py')
+      py_modules=['console_proxy_thread',
+                  'db_base',
+                  'httpserver',
+                  'nfvo_db',
+                  'nfvo',
+                  'openmanoclient',
+                  'openmanoconfig',
+                  'openmanod',
+                  'openmano_schemas',
+                  'utils',
+                  'vimconn_openstack',
+                  'vimconn_openvim',
+                  'vimconn',
+                  'vimconn_vmware',
+                  'vmwarecli',
+                  'vmwarerecli',
+                 ],
+     #package_data={'': ['vnfs', 'scenarios', 'instance-scenarios', 'database_utils/mano_db_structure.sql']}
+     data_files=[('/etc/osm/', ['openmanod.cfg']),
+                 ('/etc/systemd/system/', ['openmano.service']),
+                 ('vnfs', ['vnfs']),
+                 ('scenarios', ['scenarios']),
+                 ('instance-scenarios', ['instance-scenarios']),
+                 ('database_utils', ['database-utils']),
+                ],
+     scripts=['openmanod.py', 'openmano', 'scripts/service-openmano', 'scripts/openmano-report',]
+     )
+