projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d46eb87
)
Py2.4 fix
author
Stefan Behnel
<stefan_ml@behnel.de>
Mon, 30 Sep 2013 17:38:33 +0000
(19:38 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Mon, 30 Sep 2013 17:38:33 +0000
(19:38 +0200)
Cython/Build/Dependencies.py
patch
|
blob
|
history
diff --git
a/Cython/Build/Dependencies.py
b/Cython/Build/Dependencies.py
index
1e1f970
..
b78a0d5
100644
(file)
--- 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'