-setup(name='osm-ro',
- version='1.0',
- description='OSM Resource Orchestrator',
- long_description=open('README.rst').read(),
- 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',
- ],
- install_requires=requirements,
- #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',]
- )
+setup(name=_name,
+ version = _version,
+ description = _description,
+ long_description = open('README.rst').read(),
+ author = _author,
+ author_email = _author_email,
+ maintainer = _maintainer,
+ maintainer_email = _maintainer_email,
+ url = _url,
+ license = _license,
+ packages = [_name],
+ #packages = ['osm_ro', 'osm_roclient'],
+ package_dir = {_name: _name},
+ package_data = {_name: ['vnfs/*.yaml', 'vnfs/examples/*.yaml',
+ 'scenarios/*.yaml', 'scenarios/examples/*.yaml',
+ 'instance-scenarios/examples/*.yaml', 'database_utils/*',
+ 'scripts/*']},
+ data_files = [('/etc/osm/', ['osm_ro/openmanod.cfg']),
+ ('/etc/systemd/system/', ['osm_ro/osm-ro.service']),
+ ],
+ scripts=['openmanod', 'openmano', 'osm_ro/scripts/service-openmano', 'osm_ro/scripts/openmano-report',],
+ install_requires=_requirements,
+ include_package_data=True,
+ )