- Timestamp:
 - 08/29/06 16:16:15 (19 years ago)
 - Location:
 - trunk
 - Files:
 - 
      
- 1 deleted
 - 3 edited
 - 2 copied
 
- 
          
  bin/asap (modified) (1 diff)
 - 
          
  bin/install (modified) (2 diffs)
 - 
          
  external/casa_asap/README (copied) (copied from tags/Release2.1.0b/external/casa_asap/README )
 - 
          
  external/casa_asap/build.sh (modified) (1 diff)
 - 
          
  external/casa_asap/configure.sh (copied) (copied from tags/Release2.1.0b/external/casa_asap/configure.sh )
 - 
          
  external/casa_asap/install.sh (deleted)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/bin/asap
r1080 r1210 32 32 [ -x /usr/bin/clear ] && /usr/bin/clear 33 33 34 # do not remove this line it gets replaced on install with custom moduledir 35 # **PYTHONPATH** 36 34 37 echo "Loading ASAP..." 35 38  - 
      
trunk/bin/install
r1195 r1210 45 45 execprefix = dist.EXEC_PREFIX 46 46 moduledir = dist.get_python_lib() 47 sysmoduledir = moduledir 47 48 for k, v in opts: 48 49 if k in ("-h", "--help"): … … 118 119 shutil.copytree("asap", moddir) 119 120 print "Installing asap scripts in %s" % bindir 120 shutil.copy2("bin/asap", bindir) 121 if moduledir != sysmoduledir: 122 import sre 123 print "Changing asap startup script to use custom PYTHONPATH" 124 inf = file("bin/asap") 125 outf = file(os.path.join(bindir,"asap"), "w") 126 outline = "export PYTHONPATH=%s" % moduledir 127 regx = sre.compile("\*\*PYTHONPATH\*\*") 128 for line in inf.readlines(): 129 if regx.search(line): 130 line = outline 131 outf.write(line) 132 outf.close() 133 os.chmod(os.path.join(bindir,"asap"), 0755) 134 else: 135 shutil.copy2("bin/asap", bindir) 121 136 shutil.copy2("bin/asap_update_data", bindir) 122 137 if not os.path.exists("asap/data/ephemerides"):  - 
      
trunk/external/casa_asap/build.sh
r1161 r1210 1 1 #!/bin/sh 2 2 3 ROOTDIR=`pwd` 3 4 . aipsinit.sh 4 5  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  