From 1ef770de7eaa802c75fb81adca66180bcdbcb372 Mon Sep 17 00:00:00 2001 From: Wu Haotian Date: Thu, 15 Nov 2018 23:27:42 +0900 Subject: [PATCH] bump version to 2.0.0 --- README.rst | 7 +++++++ bencoder.pyx | 2 +- release.sh | 2 +- setup.py | 2 +- tox-wheels.ini | 2 +- tox.ini | 2 +- 6 files changed, 12 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 0f5c65b..2413a3d 100644 --- a/README.rst +++ b/README.rst @@ -53,6 +53,13 @@ Usage ChangeLog ---------- +Version 2.0.0 +~~~~~~~~~~~~~~~ + ++ Use built-in dict instead of OrderedDict on Python >= 3.7 ++ Drop support for Python 3.3 ++ Fix bytes parsing when used with python-future `#41 `_ + Version 1.2.1 ~~~~~~~~~~~~~~~ diff --git a/bencoder.pyx b/bencoder.pyx index ef7ae97..b193b1f 100644 --- a/bencoder.pyx +++ b/bencoder.pyx @@ -12,7 +12,7 @@ # Based on https://github.com/karamanolev/bencode3/blob/master/bencode.py -__version__ = '1.2.1' +__version__ = '2.0.0' diff --git a/release.sh b/release.sh index 61e328b..b13ac2e 100755 --- a/release.sh +++ b/release.sh @@ -2,7 +2,7 @@ rm -rf wheelhouse/ rm -rf dist/ cython bencoder.pyx -python setup.py sdist --formats=zip,gztar register +python setup.py sdist --formats=zip,gztar tox -c tox-wheels.ini twine upload dist/* twine upload wheelhouse/* \ No newline at end of file diff --git a/setup.py b/setup.py index 2219ce6..23ed072 100644 --- a/setup.py +++ b/setup.py @@ -94,7 +94,7 @@ def get_tag(self): setup( name='bencoder.pyx', - version='1.2.1', + version='2.0.0', description='Yet another bencode implementation in Cython', long_description=open('README.rst', 'r').read(), author='whtsky', diff --git a/tox-wheels.ini b/tox-wheels.ini index 3e1d626..e6c6eaa 100644 --- a/tox-wheels.ini +++ b/tox-wheels.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py33, py34, py35, py36 +envlist = py27, py34, py35, py36, py37 [testenv] commands = pip wheel {toxinidir} -w {toxinidir}/wheelhouse/ diff --git a/tox.ini b/tox.ini index d95f95d..f1c84bb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py33, py34, py35, py36, pypy, pypy3 +envlist = py27, py34, py35, py36, py37, pypy, pypy3 [testenv] commands =