From f23357ad24aef7a1cb5fc51f2057291425e74f51 Mon Sep 17 00:00:00 2001 From: Michael Twomey Date: Tue, 22 Oct 2013 17:03:49 +0100 Subject: Fix encoding of README.rst and update tests to catch encoding issues Fixes #10 Thanks to klmitch --- README.rst | 11 ++++++++--- setup.py | 2 +- tox.ini | 2 ++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index f6d52f2..254be3c 100644 --- a/README.rst +++ b/README.rst @@ -40,9 +40,9 @@ Time Zones - Nothing uses the default timezone given (UTC). - Z (UTC) -- ±hh:mm -- ±hhmm -- ±hh +- +/-hh:mm +- +/-hhmm +- +/-hh Where it Differs From ISO 8601 ============================== @@ -102,6 +102,11 @@ Python 2.5 is not supported (too old for the tests for the most part). It could Changes ======= +0.1.8 +----- + +* Remove +/- chars from README.rst and ensure tox tests run using LC_ALL=C. The setup.py egg_info command was failing in python 3.* on some setups (basically any where the system encoding wasn't UTF-8). (https://bitbucket.org/micktwomey/pyiso8601/issue/10/setuppy-broken-for-python-33) (thanks to klmitch) + 0.1.7 ----- diff --git a/setup.py b/setup.py index 27eb921..192911f 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ long_description = open(os.path.join(os.path.dirname(__file__), "README.rst")).r setup( name="iso8601", - version="0.1.7", + version="0.1.8", description=long_description.split("\n")[0], long_description=long_description, author="Michael Twomey", diff --git a/tox.ini b/tox.ini index d3fce9f..fb22146 100644 --- a/tox.ini +++ b/tox.ini @@ -4,3 +4,5 @@ envlist = py26,py27,py32,py33,pypy [testenv] deps=pytest>=2.4.2 commands=py.test iso8601 +setenv = + LC_ALL=C -- cgit v1.2.1