Permalink
Browse files

Drop Python 3.2

  • Loading branch information...
1 parent dc80798 commit b5fb7f6fabc6b6a2ad3cbe41652ff33a587b6c2c @peterjc peterjc committed Oct 24, 2013
Showing with 4 additions and 10 deletions.
  1. +0 −1 .travis.yml
  2. +4 −9 setup.py
View
@@ -8,7 +8,6 @@ language: python
python:
- "2.6"
- "2.7"
- - "3.2"
- "3.3"
- "pypy"
View
@@ -77,19 +77,14 @@ def get_yes_or_no(question, default):
# Make sure we have the right Python version.
if sys.version_info[:2] < (2, 6):
- print("Biopython requires Python 2.6 or later (or python 3.3 or later). "
+ print("Biopython requires Python 2.6 or 2.7 (or Python 3.3 or later). "
"Python %d.%d detected" % sys.version_info[:2])
sys.exit(1)
-elif sys.version_info[:2] == (3, 0) or sys.version_info[:2] == (3, 1):
- print("Biopython will not work on Python 3.0 or 3.1, please try Python 3.3 or later")
+elif sys.version_info[0] == 3 and sys.version_info[:2] < (3, 3):
+ print("Biopython requires Python 3.3 or later (or Python 2.6 or 2.7). "
+ "Python %d.%d detected" % sys.version_info[:2])
sys.exit(1)
elif sys.version_info[0] == 3:
- if sys.version_info[:2] < (3, 3):
- #TODO - Turn off old buildbots/travis and make this an error?
- #May want to wait until PyPy3 targets 3.3 instead of 3.2
- print("WARNING - For Python 3, we strongly recommend Python 3.3 or later.")
- if sys.version_info == (3, 3, 1) and sys.implementation == "cpython":
- print("WARNING - Rather than Python 3.3.1, we recommend Python 3.3.0, or 3.3.2, or later.")
import do2to3
python3_source = "build/py%i.%i" % sys.version_info[:2]
if "clean" in sys.argv:

0 comments on commit b5fb7f6

Please sign in to comment.