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