$OpenBSD: patch-setup_py,v 1.4 2005/12/18 20:33:17 alek Exp $ --- setup.py.orig Fri Oct 28 21:41:02 2005 +++ setup.py Sun Dec 18 19:26:31 2005 @@ -65,6 +65,7 @@ def check_dependencies_once(): return _CHECKED def check_dependencies(): + return 1 """Return whether the installation should continue.""" # There should be some way for the user to tell specify not to # check dependencies. For example, it probably should not if @@ -254,7 +255,10 @@ def is_Martel_installed(): bundled_martel_version = m.__version__ else: bundled_martel_version = None - del sys.modules["Martel"] # Delete the old version of Martel. + try: + del sys.modules["Martel"] # Delete the old version of Martel. + except: + pass # Now try and import a Martel that's not bundled with Biopython. # To do that, I need to delete all the references to the current