00001 import os,sys
00002
00003 Banner = """ScrumPy - Metabolic Modelling in Python
00004
00005 Doc is out of date in places at time of writing,
00006 (but a jolly good read for all that)
00007
00008 Python 2.6, 2.5 version. Probably OK with 2.4
00009
00010 """
00011
00012 Version = "1.0-ALPHA"
00013 LastMod = "#DATE#"
00014 Revision = "#REV#"
00015
00016
00017
00018
00019 Banner = "".join((Banner, "\nVersion : ", Version, "\nLast update : ", LastMod, "\nRevision : ", Revision))
00020
00021
00022
00023 def GetLoc():
00024 p = os.path.abspath(__file__)
00025 return p[:p.rindex(os.sep)]
00026
00027 def GetHeaderPath():
00028 return GetLoc()+"/Kinetic/clib/scampi"
00029
00030
00031 Location = GetLoc()
00032 HeaderPath = GetHeaderPath()
00033 PyVer=sys.version[:3]
00034 PyStem=sys.exec_prefix+"/"
00035
00036
00037