Permalink
Browse files

Whoops. Revert setup.py to latest version

  • Loading branch information...
1 parent ff6039a commit eb394c0bdb3d4b67a9fc088cdfb80bce6bd8b274 @chapmanb chapmanb committed Jun 25, 2010
Showing with 9 additions and 3 deletions.
  1. +9 −3 setup.py
View
@@ -26,8 +26,13 @@
# Make sure I have the right Python version.
if sys.version_info[:2] < (2, 4):
- print "Biopython requires Python 2.4 or better. Python %d.%d detected" % \
- sys.version_info[:2]
+ print "Biopython requires Python 2.4 or better (but not Python 3 " \
+ + "yet). Python %d.%d detected" % sys.version_info[:2]
+ sys.exit(-1)
+elif sys.version_info[:2] == (2,4):
+ print "Warning - we are phasing out support for Python 2.4"
+elif sys.version_info[0] == 3:
+ print "Biopython does not yet support Python 3"
sys.exit(-1)
from distutils.core import setup
@@ -260,6 +265,7 @@ def is_Numpy_installed():
'Bio.SubsMat',
'Bio.SVDSuperimposer',
'Bio.SwissProt',
+ 'Bio.Phylo',
'Bio.UniGene',
'Bio.Wise',
#Other top level packages,
@@ -330,7 +336,7 @@ def is_Numpy_installed():
},
packages=PACKAGES,
ext_modules=EXTENSIONS,
- package_data = {'Bio.Entrez': ['DTDs/*.dtd'],
+ package_data = {'Bio.Entrez': ['DTDs/*.dtd', 'DTDs/*.ent', 'DTDs/*.mod'],
'Bio.PopGen': ['SimCoal/data/*.par'],
},
#install_requires = ['numpy>=1.0'],

0 comments on commit eb394c0

Please sign in to comment.