Skip to content

Commit 7907b1d

Browse files
committed
Dual Py2/Py3k version doesn't work with Python2.5
Failing construct: 'from .<submodule> import *'
1 parent 0982f3e commit 7907b1d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

python/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
pass
2626

2727
major, minor = sys.version_info[:2]
28-
python_25 = (major > 2 or (major == 2 and minor >= 5))
29-
if not python_25:
30-
raise RuntimeError("Python 2.5 or newer is required")
28+
python_26 = (major > 2 or (major == 2 and minor >= 6))
29+
if not python_26:
30+
raise RuntimeError("Python 2.6 or newer is required")
3131
python_3x = (major >= 3)
3232
if python_3x:
3333
dev_status = 'Development Status :: 3 - Alpha'

0 commit comments

Comments
 (0)