From a8e3c38d80f31c280da42f4c7d6b565640d24bd1 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Wed, 17 Aug 2016 16:26:27 -0500 Subject: Release v1.0.0 Add twine release automation --- HISTORY.rst | 7 +++++++ tox.ini | 8 ++++++++ uritemplate/__init__.py | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 891b1cd..13e3bf8 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,13 @@ Changelog ========= +1.0.0 - 2016-08-17 +------------------ + +- Fix handling of Unicode values on Python 2.6 and 2.7 for urllib.quote. + +- Confirm public stable API via version number. + 0.3.0 - 2013-10-22 ------------------ diff --git a/tox.ini b/tox.ini index bcdf6be..9d86da0 100644 --- a/tox.ini +++ b/tox.ini @@ -19,5 +19,13 @@ deps = commands = flake8 {posargs} uritemplate tests setup.py +[testenv:release] +deps = + wheel + twine>=1.8.0 +commands = + python setup.py -q sdist bdist_wheel + twine upload --skip-existing dist/* + [flake8] exclude = docs/ diff --git a/uritemplate/__init__.py b/uritemplate/__init__.py index 2d9dbeb..3454c66 100644 --- a/uritemplate/__init__.py +++ b/uritemplate/__init__.py @@ -16,7 +16,7 @@ __title__ = 'uritemplate' __author__ = 'Ian Cordasco' __license__ = 'Modified BSD' __copyright__ = 'Copyright 2013 Ian Cordasco' -__version__ = '0.3.1' +__version__ = '1.0.0' __version_info__ = tuple(int(i) for i in __version__.split('.')) from uritemplate.api import URITemplate, expand, partial # noqa: E402 -- cgit v1.2.3