From cd520d35911a27d59c6d375330c1fe3af3d2914e Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 9 Mar 2017 16:28:59 +0100 Subject: [PATCH] New file setup.py: builds a python package Change-Id: I60226de64fe73b0603cf46f3b1371309fe7afec3 Signed-off-by: garciadeblas --- setup.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 setup.py diff --git a/setup.py b/setup.py new file mode 100755 index 00000000..ee9fd52f --- /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',] + ) + -- 2.25.1