From: Stefan Behnel Date: Mon, 30 Sep 2013 17:38:33 +0000 (+0200) Subject: Py2.4 fix X-Git-Tag: 0.20b1~297 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe78837be686e5bc7539d639ee0000d61fa66ed1;p=platform%2Fupstream%2Fpython-cython.git Py2.4 fix --- diff --git a/Cython/Build/Dependencies.py b/Cython/Build/Dependencies.py index 1e1f970..b78a0d5 100644 --- a/Cython/Build/Dependencies.py +++ b/Cython/Build/Dependencies.py @@ -1,9 +1,14 @@ import cython from Cython import __version__ -from glob import iglob import re, os, sys, time try: + from glob import iglob +except ImportError: + # Py2.4 + from glob import glob as iglob + +try: import gzip gzip_open = gzip.open gzip_ext = '.gz'