From 0013ff2deb67ebdf99655b186b720d393c9cc620 Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Mon, 2 Mar 2020 16:05:55 +0100 Subject: [PATCH] Update PyPI metadata for MLRsearch 0.3.0 Change-Id: I6a9c4739167f96bd2123f85ff2f6693562dce3bc Signed-off-by: Vratko Polak --- PyPI/MLRsearch/README.rst | 5 ++++- PyPI/MLRsearch/setup.py | 40 +++++++++++++++++++--------------------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/PyPI/MLRsearch/README.rst b/PyPI/MLRsearch/README.rst index 8960867363..2b13d904e7 100644 --- a/PyPI/MLRsearch/README.rst +++ b/PyPI/MLRsearch/README.rst @@ -16,6 +16,8 @@ is only a symlink to the original place of tightly coupled CSIT code. Change log ---------- +0.3.0: Migrated to Python 3.6, small code quality improvements. + 0.2.0: Optional parameter "doublings" has been added. 0.1.1: First officially released version. @@ -28,10 +30,11 @@ TODO. Operation logic --------------- -TODO. +See `IETF draft`_. .. _CSIT: https://wiki.fd.io/view/CSIT .. _fd.io: https://fd.io/ .. _LFN: https://www.linuxfoundation.org/projects/networking/ .. _PyPI: https://pypi.org/ .. _directory: https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/MLRsearch;hb=refs/heads/master +.. _IETF draft: https://tools.ietf.org/html/draft-vpolak-mkonstan-bmwg-mlrsearch diff --git a/PyPI/MLRsearch/setup.py b/PyPI/MLRsearch/setup.py index a40f6c6634..e64754fc6d 100644 --- a/PyPI/MLRsearch/setup.py +++ b/PyPI/MLRsearch/setup.py @@ -9,32 +9,30 @@ from os import path from io import open here = path.abspath(path.dirname(__file__)) -with open(path.join(here, "README.rst"), encoding="utf-8") as f: +with open(path.join(here, u"README.rst"), encoding=u"utf-8") as f: long_description = f.read() setup( - name="MLRsearch", - version="0.2.0", # This is currently the only place listing the version. - description="Library for speeding up binary search using shorter measurements.", + name=u"MLRsearch", + version=u"0.3.0", # This is currently the only place listing the version. + description=u"Library for speeding up binary search using shorter measurements.", long_description=long_description, - long_description_content_type="text/x-rst", + long_description_content_type=u"text/x-rst", # TODO: Create a separate webpage for MLRsearch library. - url="https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/MLRsearch;hb=refs/heads/master", - author="Cisco Systems Inc. and/or its affiliates", - author_email="csit-dev@lists.fd.io", + url=u"https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/MLRsearch;hb=refs/heads/master", + author=u"Cisco Systems Inc. and/or its affiliates", + author_email=u"csit-dev@lists.fd.io", classifiers=[ - "Development Status :: 3 - Alpha", - "Intended Audience :: Science/Research", - "Intended Audience :: Telecommunications Industry", - # Pick your license as you wish - "License :: OSI Approved :: Apache Software License", - # TODO: Test which Python versions is the code compatible with. - "Programming Language :: Python :: 2.7", - "Topic :: System :: Networking" + u"Development Status :: 3 - Alpha", + u"Intended Audience :: Science/Research", + u"Intended Audience :: Telecommunications Industry", + u"License :: OSI Approved :: Apache Software License", + u"Programming Language :: Python :: 3.6", + u"Topic :: System :: Networking" ], - keywords="binary search throughput networking", + keywords=u"binary search throughput networking", packages=find_packages(exclude=[]), - # TODO: python_requires="~=2.7" + python_requires=u"~=3.6", install_requires=[], # TODO: Include simulator and tests. extras_require={ @@ -42,11 +40,11 @@ setup( package_data={ }, entry_points={ - "console_scripts": [ + u"console_scripts": [ ], }, project_urls={ - "Bug Reports": "https://jira.fd.io/projects/CSIT/issues", - "Source": "https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/MLRsearch;hb=refs/heads/master", + u"Bug Reports": u"https://jira.fd.io/projects/CSIT/issues", + u"Source": u"https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/MLRsearch;hb=refs/heads/master", }, ) -- 2.16.6