X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=setup_lite.py;h=23d224cd73bec074cd18537382fb941ea26f9369;hb=refs%2Fchanges%2F46%2F7346%2F1;hp=231c746dcc4d7c5132c002ba5b516426b9aba07e;hpb=126e787a5795bc8294c0650e57188546fed8012e;p=osm%2Fopenvim.git diff --git a/setup_lite.py b/setup_lite.py index 231c746..23d224c 100755 --- a/setup_lite.py +++ b/setup_lite.py @@ -3,7 +3,6 @@ from setuptools import setup __name = 'lib_osm_openvim' -__version = open('OVIM_VERSION').read().strip() __description = 'OSM Openvim library' __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,16 +33,15 @@ _req = [ "requestsexceptions", "netaddr", "bottle", - "MySQL-python", - "paramiko", - "pytest", - "pexect" + #"MySQL-python", + #"mysqlclient", + "paramiko" ] __scripts__ = ['openflow-lib'] setup(name=__name, - version=__version, + version_command=('git describe --match v*', 'pep440-git'), description=__description, long_description=__description, author=__author, @@ -57,7 +55,8 @@ setup(name=__name, scripts=__scripts__, package_data={'lib_osm_openvim': ['*']}, include_package_data=True, - install_requires=_req + install_requires=_req, + setup_requires=['setuptools-version-command'], )