blob: 303a65201f795d6e461aa2d35e31b4e5b79629a4 [file] [log] [blame]
garciadeblascd520d32017-03-09 16:28:59 +01001#!/usr/bin/env python
2
garciadeblase5ef5172017-04-20 14:46:29 +02003#from distutils.core import setup
4#from distutils.command.install_data import install_data
garciadeblas06e6c392017-03-28 15:42:20 +02005from setuptools import setup
garciadeblas2c290ca2017-04-06 03:12:51 +02006from os import system
garciadeblascd520d32017-03-09 16:28:59 +01007#import glob
8
garciadeblas2c290ca2017-04-06 03:12:51 +02009_name = 'osm_ro'
garciadeblas4b6216b2017-04-20 16:41:52 +020010_version = open('RO_VERSION').read().strip()
garciadeblas2c290ca2017-04-06 03:12:51 +020011_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 = [
garciadeblas06e6c392017-03-28 15:42:20 +020019 "PyYAML",
20 "bottle",
garciadeblas2c290ca2017-04-06 03:12:51 +020021 "MySQL-python",
garciadeblas06e6c392017-03-28 15:42:20 +020022 "jsonschema",
23 "paramiko",
24 "argcomplete",
25 "requests",
26 "logutils",
tiernob4c22392017-06-14 12:55:38 +020027 "python-openstackclient",
garciadeblas2c290ca2017-04-06 03:12:51 +020028 "python-novaclient",
29 "python-keystoneclient",
30 "python-glanceclient",
31 "python-neutronclient",
32 "python-cinderclient",
garciadeblas06e6c392017-03-28 15:42:20 +020033 "pyvcloud",
34 "progressbar",
35 "prettytable",
36 "pyvmomi",
garciadeblas2c290ca2017-04-06 03:12:51 +020037 "boto",
garciadeblas06e6c392017-03-28 15:42:20 +020038]
39
garciadeblas2c290ca2017-04-06 03:12:51 +020040setup(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/*',
garciadeblase5ef5172017-04-20 14:46:29 +020056 'scripts/*']},
57 data_files = [('/etc/osm/', ['osm_ro/openmanod.cfg']),
58 ('/etc/systemd/system/', ['osm_ro/osm-ro.service']),
garciadeblas2c290ca2017-04-06 03:12:51 +020059 ],
garciadeblase5ef5172017-04-20 14:46:29 +020060 scripts=['openmanod', 'openmano', 'osm_ro/scripts/service-openmano', 'osm_ro/scripts/openmano-report',],
garciadeblas2c290ca2017-04-06 03:12:51 +020061 install_requires=_requirements,
62 include_package_data=True,
garciadeblas2c290ca2017-04-06 03:12:51 +020063 )
garciadeblascd520d32017-03-09 16:28:59 +010064