Skip to content

Commit

Permalink
Enforce minimium required Python versions: 2.7, 3.3.
Browse files Browse the repository at this point in the history
Closes #59.
  • Loading branch information
tseaver committed May 17, 2016
1 parent 9618301 commit 6c2f4a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.py
Expand Up @@ -26,12 +26,12 @@
import sys
from setuptools import setup, find_packages

if sys.version_info < (2, 6):
print("This version of ZODB requires Python 2.6 or higher")
if sys.version_info < (2, 7):
print("This version of ZODB requires Python 2.7 or higher")
sys.exit(0)

if (3,) < sys.version_info < (3, 2):
print("This version of ZODB requires Python 3.2 or higher")
if (3,) < sys.version_info < (3, 3):
print("This version of ZODB requires Python 3.3 or higher")
sys.exit(0)


Expand Down

0 comments on commit 6c2f4a6

Please sign in to comment.