- Timestamp:
- 08/23/06 09:56:13 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/install
r1172 r1173 17 17 opts, args = getopt.getopt(sys.argv[1:], "p:m:h", 18 18 ["exec-prefix=", "module-dir=", "help"]) 19 19 20 20 except getopt.GetoptError: 21 21 usage() … … 41 41 if k in ("-m", "--module-dir"): 42 42 v = os.path.expanduser(v) 43 v = os.path.expandvars(v) 43 v = os.path.expandvars(v) 44 44 if not os.path.exists(v): 45 45 print "The specified module directory %s doesn't exist" % v … … 53 53 print "Matplotlib not found" 54 54 sys.exit(1) 55 if matplotlib.__version__.split(".")[1]< 87:55 if int(matplotlib.__version__.split(".")[1]) < 87: 56 56 print "Warning: matplotlib version < 0.87." \ 57 57 "This might cause errors. Please upgrade." 58 59 58 try: 60 59 import matplotlib.backends.backend_tkagg
Note:
See TracChangeset
for help on using the changeset viewer.