-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·76 lines (69 loc) · 1.92 KB
/
setup.py
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
72
73
74
#!/usr/bin/env python
from setuptools import setup
__name = 'osm_openvim'
__description = 'OSM Openvim'
__author = 'ETSI OSM'
__author_email = '[email protected]'
__maintainer = 'mirabal'
__maintainer_email = '[email protected]'
__license = 'Apache 2.0'
__url = 'https://osm.etsi.org/gitweb/?p=osm/openvim.git;a=summary'
_req = [
#"asn1crypto",
"cffi",
"enum34",
"functools32",
"idna",
"ipaddress",
"packaging",
"pbr",
"pkgconfig",
"pyasn1",
"pycparser",
"pycrypto",
"pyparsing",
"six",
"jsonschema",
"argcomplete",
"requests",
"PyYAML",
"requestsexceptions",
"netaddr",
"bottle",
#"MySQL-python",
#"mysqlclient",
"paramiko",
"libvirt-python",
"pytest",
"pexpect"
]
__scripts__ = ['openflow',
'openvim',
'openvimd',
'osm_openvim/scripts/service-openvim',
'osm_openvim/scripts/service-opendaylight',
'osm_openvim/scripts/service-floodlight',
'osm_openvim/scripts/service-openvim',
'osm_openvim/scripts/openvim-report',
'osm_openvim/scripts/get_dhcp_lease.sh']
setup(name=__name,
version_command=('git describe', 'pep440-git'),
description=__description,
long_description=__description,
author=__author,
author_email=__author_email,
license=__license,
maintainer=__maintainer,
maintainer_email=__maintainer_email,
url=__url,
packages=[__name],
package_dir={__name: __name},
scripts=__scripts__,
package_data={'osm_openvim': ['*']},
include_package_data=True,
data_files = [('/etc/osm/', ['osm_openvim/openvimd.cfg']),
('/etc/systemd/system/', ['osm_openvim/osm-openvim.service']),
],
install_requires=_req,
setup_requires=['setuptools-version-command'],
)