| #!/usr/bin/env python |
| |
| from setuptools import setup |
| |
| __name = 'osm_openvim' |
| __description = 'OSM Openvim' |
| __author = 'ETSI OSM' |
| __author_email = 'alfonso.tiernosepulveda@telefonica.com' |
| __maintainer = 'mirabal' |
| __maintainer_email = 'leonardo.mirabal@altran.com' |
| __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 --match v*', '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'], |
| ) |
| |
| |