Changeset 1445 for branches/alma/python
- Timestamp:
- 11/12/08 16:34:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/__init__.py
r1378 r1445 31 31 print 'First time ASAP use. Setting up ~/.asap' 32 32 os.mkdir(userdir) 33 shutil.copyfile(asapdata+"/data/ipythonrc-asap", userdir+"/ipythonrc-asap")33 #shutil.copyfile(asapdata+"/data/ipythonrc-asap", userdir+"/ipythonrc-asap") 34 34 f = file(userdir+"/asapuserfuncs.py", "w") 35 35 f.close() … … 361 361 362 362 __date__ = '$Date$'.split()[1] 363 __version__ = 'trunk' 363 __version__ = '2.2.0 alma' 364 # nrao casapy specific, get revision number 365 __revision__ = ' unknown ' 366 casapath=os.environ["AIPSPATH"].split() 367 revinfo=casapath[0]+'/'+casapath[1]+'/python/2.5/asap/svninfo.txt' 368 if os.path.isfile(revinfo): 369 f = file(revinfo) 370 f.readline() 371 revsionno=f.readline() 372 f.close() 373 __revision__ = revsionno.rstrip() 364 374 365 375 def is_ipython():
Note:
See TracChangeset
for help on using the changeset viewer.