Bug 1149: correct topology creation
[osm/RO.git] / RO / setup.py
1 #!/usr/bin/env python3
2
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 # implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 # from distutils.core import setup
17 # from distutils.command.install_data import install_data
18 from setuptools import setup
19 from os import system
20 # import glob
21
22 _name = 'osm_ro'
23 _description = 'OSM Resource Orchestrator'
24 _author = 'ETSI OSM'
25 _author_email = 'alfonso.tiernosepulveda@telefonica.com'
26 _maintainer = 'garciadeblas'
27 _maintainer_email = 'gerardo.garciadeblas@telefonica.com'
28 _license = 'Apache 2.0'
29 _url = 'https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary'
30 _requirements = [
31 "osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git@v8.0#egg=osm-im",
32 "PyYAML",
33 "bottle",
34 "logutils",
35 "jsonschema",
36 "paramiko",
37 "mysqlclient",
38
39 # common to VIMS
40 "requests",
41 "netaddr", # openstack, aws, vmware
42 ]
43
44 setup(
45 name=_name,
46 version_command=('git -C .. describe --match v* --tags --long --dirty', 'pep440-git-full'),
47 description = _description,
48 long_description = open('README.rst').read(),
49 author = _author,
50 author_email = _author_email,
51 maintainer = _maintainer,
52 maintainer_email = _maintainer_email,
53 url = _url,
54 license = _license,
55 packages = [_name],
56 #packages = ['osm_ro', 'osm_roclient'],
57 package_dir = {_name: _name},
58 # package_data = {_name: ['vnfs/*.yaml', 'vnfs/examples/*.yaml',
59 # 'scenarios/*.yaml', 'scenarios/examples/*.yaml',
60 # 'instance-scenarios/examples/*.yaml', 'database_utils/*',
61 # 'scripts/*']},
62 # data_files = [('/etc/osm/', ['osm_ro/openmanod.cfg']),
63 # ('/etc/systemd/system/', ['osm_ro/osm-ro.service']),
64 # ],
65 scripts=['osm_ro/scripts/RO-start.sh'
66 #'openmanod', 'openmano', 'osm_ro/scripts/service-openmano', 'osm_ro/scripts/openmano-report',
67 ],
68 install_requires=_requirements,
69 include_package_data=True,
70 setup_requires=['setuptools-version-command'],
71 #test_suite='nose.collector',
72 )
73