X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=setup.py;h=28865c1174dbd3af5a87d26f1236341d0088485e;hb=9cead2a0262deabadc900d580ef312fbc468efc0;hp=c136d4baba2679ea119e1bf1b3e61733af906bd5;hpb=005a9dcfbf5e978f73b10b975e35bc95adc9a11f;p=osm%2Fopenvim.git diff --git a/setup.py b/setup.py index c136d4b..28865c1 100755 --- a/setup.py +++ b/setup.py @@ -3,7 +3,6 @@ from setuptools import setup __name = 'osm_openvim' -__version = open('OPENVIM_VERSION').read().strip() __description = 'OSM Openvim' __author = 'ETSI OSM' __author_email = 'alfonso.tiernosepulveda@telefonica.com' @@ -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,7 +33,8 @@ _req = [ "requestsexceptions", "netaddr", "bottle", - "MySQL-python", + #"MySQL-python", + #"mysqlclient", "paramiko", "libvirt-python", "pytest", @@ -52,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, @@ -69,7 +69,8 @@ setup(name=__name, data_files = [('/etc/osm/', ['osm_openvim/openvimd.cfg']), ('/etc/systemd/system/', ['osm_openvim/osm-openvim.service']), ], - install_requires=_req + install_requires=_req, + setup_requires=['setuptools-version-command'], )