Implement feature 5949
[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 #"pyvcloud",
35 #"progressbar",
36 "prettytable",
37 #"pyvmomi",
38 "boto",
39 #"lib_osm_openvim",
40 #"osm_im",
41 "pycrypto",
42 ]
43
44 setup(name=_name,
45 version_command=('git describe --match v*', 'pep440-git'),
46 description = _description,
47 long_description = open('README.rst').read(),
48 author = _author,
49 author_email = _author_email,
50 maintainer = _maintainer,
51 maintainer_email = _maintainer_email,
52 url = _url,
53 license = _license,
54 packages = [_name],
55 #packages = ['osm_ro', 'osm_roclient'],
56 package_dir = {_name: _name},
57 package_data = {_name: ['vnfs/*.yaml', 'vnfs/examples/*.yaml',
58 'scenarios/*.yaml', 'scenarios/examples/*.yaml',
59 'instance-scenarios/examples/*.yaml', 'database_utils/*',
60 'scripts/*']},
61 data_files = [('/etc/osm/', ['osm_ro/openmanod.cfg']),
62 ('/etc/systemd/system/', ['osm_ro/osm-ro.service']),
63 ],
64 scripts=['openmanod', 'openmano', 'osm_ro/scripts/service-openmano', 'osm_ro/scripts/openmano-report',
65 'osm_ro/scripts/RO-start.sh'],
66 install_requires=_requirements,
67 include_package_data=True,
68 setup_requires=['setuptools-version-command'],
69 #test_suite='nose.collector',
70 )
71