Changeset 1757 for branches/alma/bin
- Timestamp:
- 06/09/10 19:03:06 (15 years ago)
- Location:
- branches/alma
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma
-
Property svn:ignore
set to
.sconf_temp
.sconsign.dblite
-
Property svn:mergeinfo
set to
/branches/asap-3.x merged eligible
-
Property svn:ignore
set to
-
branches/alma/bin/asap
r1210 r1757 51 51 fi 52 52 # now execute ipython using the profile 53 $ip -ipythondir "${HOME}/.asap" -p 'asap'$*53 $ip -ipythondir "${HOME}/.asap" $* 54 54 fi -
branches/alma/bin/install
r1232 r1757 18 18 lddopts = "" 19 19 if (sys.platform == "darwin"): 20 lddcommand = " otool"20 lddcommand = "/usr/bin/otool" 21 21 lddopts = "-L" 22 22 if not os.path.isfile(lddcommand): … … 27 27 resolved = [] 28 28 unresolved = [] 29 for l in p.readlines(): 30 lsp = l.split() 31 # test this to avoid fails on linux_gate, which has no library 32 if len(lsp) >= 3: 33 if lsp[2] == "not": 34 unresolved.append(lsp[0]) 29 if sys.platform == "linux2": 30 for l in p.readlines(): 31 lsp = l.split() 32 # test this to avoid fails on linux_gate, which has no library 33 if len(lsp) >= 3: 34 if lsp[2] == "not": 35 unresolved.append(lsp[0]) 36 else: 37 resolved.append(lsp[2]) 38 elif sys.platform == "darwin": 39 for l in p.readlines(): 40 l = l.strip() 41 if l.endswith(":"): 42 continue 43 l = l.split()[0] 44 if not os.path.exists(l): 45 unresolved.append(l) 35 46 else: 36 resolved.append(l sp[2])47 resolved.append(l) 37 48 return resolved, unresolved 49 38 50 39 51 try: … … 122 134 print "Installing asap scripts in %s" % bindir 123 135 if moduledir != sysmoduledir: 124 import sre136 import re 125 137 print "Changing asap startup script to use custom PYTHONPATH" 126 138 inf = file("bin/asap") … … 137 149 shutil.copy2("bin/asap", bindir) 138 150 shutil.copy2("bin/asap_update_data", bindir) 151 shutil.copy2("bin/asap2to3", bindir) 139 152 if not os.path.exists("asap/data/ephemerides"): 140 153 print "Warning - no data directory present"
Note:
See TracChangeset
for help on using the changeset viewer.