summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Twomey <michael.twomey@fieldaware.com>2013-10-22 17:03:49 +0100
committerMichael Twomey <michael.twomey@fieldaware.com>2013-10-22 17:03:49 +0100
commitf23357ad24aef7a1cb5fc51f2057291425e74f51 (patch)
tree3d8af68ad44b02b5672527aa6f0cfd13a4877be4
parent38bffcc4ff7e19c78b5de54ff649ce777c5c547b (diff)
downloadpyiso8601-f23357ad24aef7a1cb5fc51f2057291425e74f51.tar.gz
Fix encoding of README.rst and update tests to catch encoding issues0.1.8
Fixes #10 Thanks to klmitch
-rw-r--r--README.rst11
-rw-r--r--setup.py2
-rw-r--r--tox.ini2
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