| mirabal | d87877c | 2017-03-31 15:15:52 +0200 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | |
| mirabal | d87877c | 2017-03-31 15:15:52 +0200 | [diff] [blame] | 3 | from setuptools import setup |
| 4 | |
| mirabal | 9f65710 | 2017-04-10 20:05:40 +0200 | [diff] [blame] | 5 | __name = 'osm_openvim' |
| garciadeblas | 8b7767b | 2017-04-20 19:21:49 +0200 | [diff] [blame^] | 6 | __version = open('OPENVIM_VERSION').read().strip() |
| 7 | __description = 'OSM Openvim' |
| mirabal | 9f65710 | 2017-04-10 20:05:40 +0200 | [diff] [blame] | 8 | __author = 'ETSI OSM' |
| 9 | __author_email = 'alfonso.tiernosepulveda@telefonica.com' |
| 10 | __maintainer = 'mirabal' |
| 11 | __maintainer_email = 'leonardo.mirabal@altran.com' |
| 12 | __license = 'Apache 2.0' |
| 13 | __url = 'https://osm.etsi.org/gitweb/?p=osm/openvim.git;a=summary' |
| mirabal | d87877c | 2017-03-31 15:15:52 +0200 | [diff] [blame] | 14 | |
| 15 | _req = [ |
| 16 | "asn1crypto", |
| 17 | "cffi", |
| 18 | "enum34", |
| 19 | "functools32", |
| 20 | "idna", |
| 21 | "ipaddress", |
| 22 | "packaging", |
| 23 | "pbr", |
| 24 | "pkgconfig", |
| 25 | "pyasn1", |
| 26 | "pycparser", |
| 27 | "pycrypto", |
| 28 | "pyparsing", |
| 29 | "six", |
| 30 | "jsonschema", |
| 31 | "argcomplete", |
| 32 | "requests", |
| 33 | "PyYAML", |
| 34 | "requestsexceptions", |
| 35 | "netaddr", |
| 36 | "bottle", |
| 37 | "MySQL-python", |
| 38 | "paramiko", |
| 39 | "libvirt-python" |
| 40 | ] |
| 41 | |
| mirabal | 9f65710 | 2017-04-10 20:05:40 +0200 | [diff] [blame] | 42 | __scripts__ = ['openflow', |
| 43 | 'openvim', |
| 44 | 'openvimd', |
| 45 | 'osm_openvim/scripts/service-openvim', |
| 46 | 'osm_openvim/scripts/service-opendaylight', |
| 47 | 'osm_openvim/scripts/service-floodlight', |
| 48 | 'osm_openvim/scripts/service-openvim', |
| 49 | 'osm_openvim/scripts/openvim-report', |
| 50 | 'osm_openvim/scripts/get_dhcp_lease.sh'] |
| mirabal | d87877c | 2017-03-31 15:15:52 +0200 | [diff] [blame] | 51 | |
| mirabal | 9f65710 | 2017-04-10 20:05:40 +0200 | [diff] [blame] | 52 | setup(name=__name, |
| 53 | version=__version, |
| 54 | description=__description, |
| 55 | long_description=__description, |
| 56 | author=__author, |
| 57 | author_email=__author_email, |
| 58 | license=__license, |
| 59 | maintainer=__maintainer, |
| 60 | maintainer_email=__maintainer_email, |
| 61 | url=__url, |
| 62 | packages=[__name], |
| 63 | package_dir={__name: __name}, |
| mirabal | d87877c | 2017-03-31 15:15:52 +0200 | [diff] [blame] | 64 | scripts=__scripts__, |
| mirabal | 9f65710 | 2017-04-10 20:05:40 +0200 | [diff] [blame] | 65 | package_data={'osm_openvim': ['*']}, |
| mirabal | d87877c | 2017-03-31 15:15:52 +0200 | [diff] [blame] | 66 | include_package_data=True, |
| garciadeblas | 8b7767b | 2017-04-20 19:21:49 +0200 | [diff] [blame^] | 67 | data_files = [('/etc/osm/', ['osm_openvim/openvimd.cfg']), |
| 68 | ('/etc/systemd/system/', ['osm_openvim/osm-openvim.service']), |
| 69 | ], |
| mirabal | d87877c | 2017-03-31 15:15:52 +0200 | [diff] [blame] | 70 | install_requires=_req |
| 71 | ) |
| 72 | |
| 73 | |