From: garciadeblas Date: Thu, 9 Mar 2017 15:28:59 +0000 (+0100) Subject: New file setup.py: builds a python package X-Git-Tag: v2.0.0~22^2~10 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=cd520d35911a27d59c6d375330c1fe3af3d2914e;p=osm%2FRO.git New file setup.py: builds a python package Change-Id: I60226de64fe73b0603cf46f3b1371309fe7afec3 Signed-off-by: garciadeblas --- 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',] + ) +