- Timestamp:
- 08/23/06 09:53:03 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/install
r1163 r1172 8 8 9 9 def usage(): 10 pass 10 print """Usage: 11 ./install [-p <prefix for asap binary>] 12 [-m <where to install python module>] 13 [-h] this message 14 """ 11 15 12 16 try: … … 15 19 16 20 except getopt.GetoptError: 17 print "error"21 usage() 18 22 sys.exit(2) 19 23 … … 49 53 print "Matplotlib not found" 50 54 sys.exit(1) 55 if matplotlib.__version__.split(".")[1] < 87: 56 print "Warning: matplotlib version < 0.87." \ 57 "This might cause errors. Please upgrade." 58 51 59 try: 52 60 import matplotlib.backends.backend_tkagg … … 62 70 print "You need to have either 'numpy' or 'numarray' installed." 63 71 sys.exit(1) 64 print "Looks like everything is here" 72 try: 73 import IPython 74 except ImportError: 75 print "IPython should be installed." 76 sys.exit(1) 77 78 print "All required modules were found." 65 79 moddir = os.path.join(moduledir, "asap") 66 80 bindir = os.path.join(execprefix, "bin")
Note:
See TracChangeset
for help on using the changeset viewer.