X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=setup.py;h=28865c1174dbd3af5a87d26f1236341d0088485e;hb=9cead2a0262deabadc900d580ef312fbc468efc0;hp=fac60eac7e937a45bb798926840ff9bf6b907dea;hpb=9f6571090b203922cabb0382226be0fa48d6e046;p=osm%2Fopenvim.git diff --git a/setup.py b/setup.py index fac60ea..28865c1 100755 --- a/setup.py +++ b/setup.py @@ -3,8 +3,7 @@ from setuptools import setup __name = 'osm_openvim' -__version = '1.0.0' -__description = 'OSM Openvim library' +__description = 'OSM Openvim' __author = 'ETSI OSM' __author_email = 'alfonso.tiernosepulveda@telefonica.com' __maintainer = 'mirabal' @@ -13,7 +12,7 @@ __license = 'Apache 2.0' __url = 'https://osm.etsi.org/gitweb/?p=osm/openvim.git;a=summary' _req = [ - "asn1crypto", + #"asn1crypto", "cffi", "enum34", "functools32", @@ -34,9 +33,12 @@ _req = [ "requestsexceptions", "netaddr", "bottle", - "MySQL-python", + #"MySQL-python", + #"mysqlclient", "paramiko", - "libvirt-python" + "libvirt-python", + "pytest", + "pexpect" ] __scripts__ = ['openflow', @@ -50,7 +52,7 @@ __scripts__ = ['openflow', 'osm_openvim/scripts/get_dhcp_lease.sh'] setup(name=__name, - version=__version, + version_command=('git describe --match v*', 'pep440-git'), description=__description, long_description=__description, author=__author, @@ -64,7 +66,11 @@ setup(name=__name, scripts=__scripts__, package_data={'osm_openvim': ['*']}, include_package_data=True, - install_requires=_req + data_files = [('/etc/osm/', ['osm_openvim/openvimd.cfg']), + ('/etc/systemd/system/', ['osm_openvim/osm-openvim.service']), + ], + install_requires=_req, + setup_requires=['setuptools-version-command'], )