Refresh includes public ip addresses, add empty additional disks if necessara
[osm/RO.git] / setup.py
1 #!/usr/bin/env python
2
3 #from distutils.core import setup
4 #from distutils.command.install_data import install_data
5 from setuptools import setup
6 from os import system
7 #import glob
8
9 _name = 'osm_ro'
10 _description = 'OSM Resource Orchestrator'
11 _author = 'ETSI OSM'
12 _author_email = 'alfonso.tiernosepulveda@telefonica.com'
13 _maintainer = 'garciadeblas'
14 _maintainer_email = 'gerardo.garciadeblas@telefonica.com'
15 _license = 'Apache 2.0'
16 _url = 'https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary'
17 _requirements = [
18 "six", # python 2 x 3 compatibility
19 "PyYAML",
20 "bottle",
21 #"mysqlclient",
22 #"MySQLdb",
23 "jsonschema",
24 "paramiko",
25 "argcomplete",
26 "requests",
27 "logutils",
28 "python-openstackclient",
29 "python-novaclient",
30 "python-keystoneclient",
31 "python-glanceclient",
32 "python-neutronclient",
33 "python-cinderclient",
34 "networking-l2gw",
35 #"pyvcloud",
36 #"progressbar",
37 "prettytable",
38 #"pyvmomi",
39 "boto",
40 #"lib_osm_openvim",
41 #"osm_im",
42 "pycrypto",
43 "netaddr",
44 ]
45
46 setup(name=_name,
47 version_command=('git describe --match v*', 'pep440-git-full'),
48 description = _description,
49 long_description = open('README.rst').read(),
50 author = _author,
51 author_email = _author_email,
52 maintainer = _maintainer,
53 maintainer_email = _maintainer_email,
54 url = _url,
55 license = _license,
56 packages = [_name],
57 #packages = ['osm_ro', 'osm_roclient'],
58 package_dir = {_name: _name},
59 package_data = {_name: ['vnfs/*.yaml', 'vnfs/examples/*.yaml',
60 'scenarios/*.yaml', 'scenarios/examples/*.yaml',
61 'instance-scenarios/examples/*.yaml', 'database_utils/*',
62 'scripts/*']},
63 data_files = [('/etc/osm/', ['osm_ro/openmanod.cfg']),
64 ('/etc/systemd/system/', ['osm_ro/osm-ro.service']),
65 ],
66 scripts=['openmanod', 'openmano', 'osm_ro/scripts/service-openmano', 'osm_ro/scripts/openmano-report',
67 'osm_ro/scripts/RO-start.sh'],
68 install_requires=_requirements,
69 include_package_data=True,
70 setup_requires=['setuptools-version-command'],
71 #test_suite='nose.collector',
72 )
73