Skip to content

Commit

Permalink
Upgrade setup.py for SubsMat
Browse files Browse the repository at this point in the history
  • Loading branch information
chapmanb committed Nov 15, 2000
1 parent 9d69c7e commit 96a6095
Showing 1 changed file with 27 additions and 23 deletions.
50 changes: 27 additions & 23 deletions setup.py
Expand Up @@ -2,11 +2,12 @@
# how to run distutils to install the package # how to run distutils to install the package


import sys import sys
import os
try: try:
from distutils.core import setup from distutils.core import setup
except ImportError: except ImportError:
# XXX improve this error message print "Biopython installation requires distutils, avaiable with python 2.0"
print "Requires distutils" print "or from http://python.org/sigs/distutils-sig/download.html"
sys.exit(0) sys.exit(0)


# check if the distutils has the new extension class stuff # check if the distutils has the new extension class stuff
Expand All @@ -15,6 +16,8 @@
from distutils.extension import Extension from distutils.extension import Extension
new_extension = 1 new_extension = 1
except ImportError: except ImportError:
print "Your version of distutils is really old. You should definately"
print "upgrade to a newer version!"
new_extension = 0 new_extension = 0


if new_extension: if new_extension:
Expand Down Expand Up @@ -48,33 +51,34 @@




setup(name='biopython', setup(name='biopython',
version='0.90-d03', version='0.90d03',
author='The Biopython Consortium', author='The Biopython Consortium',
author_email='biopython@biopython.org', author_email='biopython@biopython.org',
url='http://www.bipoython.org/', url='http://www.bipoython.org/',


packages=['Bio', packages=['Bio',
'Bio/Align', 'Bio.Align',
'Bio/Alphabet', 'Bio.Alphabet',
'Bio/Blast', 'Bio.Blast',
'Bio/Clustalw', 'Bio.Clustalw',
'Bio/Data', 'Bio.Data',
'Bio/Encodings', 'Bio.Encodings',
'Bio/Entrez', 'Bio.Entrez',
'Bio/Enzyme', 'Bio.Enzyme',
'Bio/Fasta', 'Bio.Fasta',
'Bio/Gobase', 'Bio.Gobase',
'Bio/Medline', 'Bio.Medline',
'Bio/PDB', 'Bio.PDB',
'Bio/Prosite', 'Bio.Prosite',
'Bio/Rebase', 'Bio.Rebase',
'Bio/SCOP', 'Bio.SCOP',
'Bio/SeqIO', 'Bio.SeqIO',
'Bio/SwissProt', 'Bio.SubsMat',
'Bio/Tools', 'Bio/Tools/Classification', 'Bio.SwissProt',
'Bio/WWW' 'Bio.Tools', 'Bio.Tools.Classification',
'Bio.WWW'
], ],

ext_modules = extensions ext_modules = extensions
) )


0 comments on commit 96a6095

Please sign in to comment.