From 90a3012bcca6501fa33b87fc41138406ff2656f0 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 29 Nov 2011 11:25:53 +1100 Subject: [PATCH] fix python2.5 support --- README.rst | 1 + parse.py | 3 ++- setup.py | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 1b9bc33..3607b95 100644 --- a/README.rst +++ b/README.rst @@ -224,6 +224,7 @@ with the same identifier. **Version history (in brief)**: +- 1.3.3 fix Python 2.5 setup.py issue. - 1.3.2 fix Python 3.2 setup.py issue. - 1.3.1 fix a couple of Python 3.2 compatibility issues. - 1.3 added search() and findall(); removed compile() from ``import *`` diff --git a/parse.py b/parse.py index c372ff2..28ddcfc 100644 --- a/parse.py +++ b/parse.py @@ -224,6 +224,7 @@ with the same identifier. **Version history (in brief)**: +- 1.3.3 fix Python 2.5 setup.py issue. - 1.3.2 fix Python 3.2 setup.py issue. - 1.3.1 fix a couple of Python 3.2 compatibility issues. - 1.3 added search() and findall(); removed compile() from ``import *`` @@ -253,7 +254,7 @@ with the same identifier. This code is copyright 2011 eKit.com Inc (http://www.ekit.com/) See the end of the source file for the license of use. ''' -__version__ = '1.3.2' +__version__ = '1.3.3' # yes, I now have two problems import re diff --git a/setup.py b/setup.py index 17ac38d..4dd8335 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,7 @@ #! /usr/bin/env python +from __future__ import with_statement + from distutils.core import setup from parse import __version__, __doc__