Merge "remove specific node label" into v2.0
[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 _version = open('RO_VERSION').read().strip()
11 _description = 'OSM Resource Orchestrator'
12 _author = 'ETSI OSM'
13 _author_email = 'alfonso.tiernosepulveda@telefonica.com'
14 _maintainer = 'garciadeblas'
15 _maintainer_email = 'gerardo.garciadeblas@telefonica.com'
16 _license = 'Apache 2.0'
17 _url = 'https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary'
18 _requirements = [
19 "PyYAML",
20 "bottle",
21 "MySQL-python",
22 "jsonschema",
23 "paramiko",
24 "argcomplete",
25 "requests",
26 "logutils",
27 "python-openstackclient",
28 "python-novaclient",
29 "python-keystoneclient",
30 "python-glanceclient",
31 "python-neutronclient",
32 "python-cinderclient",
33 "pyvcloud",
34 "progressbar",
35 "prettytable",
36 "pyvmomi",
37 "boto",
38 ]
39
40 setup(name=_name,
41 version = _version,
42 description = _description,
43 long_description = open('README.rst').read(),
44 author = _author,
45 author_email = _author_email,
46 maintainer = _maintainer,
47 maintainer_email = _maintainer_email,
48 url = _url,
49 license = _license,
50 packages = [_name],
51 #packages = ['osm_ro', 'osm_roclient'],
52 package_dir = {_name: _name},
53 package_data = {_name: ['vnfs/*.yaml', 'vnfs/examples/*.yaml',
54 'scenarios/*.yaml', 'scenarios/examples/*.yaml',
55 'instance-scenarios/examples/*.yaml', 'database_utils/*',
56 'scripts/*']},
57 data_files = [('/etc/osm/', ['osm_ro/openmanod.cfg']),
58 ('/etc/systemd/system/', ['osm_ro/osm-ro.service']),
59 ],
60 scripts=['openmanod', 'openmano', 'osm_ro/scripts/service-openmano', 'osm_ro/scripts/openmano-report',],
61 install_requires=_requirements,
62 include_package_data=True,
63 )
64