Changeset 1445 for branches


Ignore:
Timestamp:
11/12/08 16:34:57 (16 years ago)
Author:
TakTsutsumi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/alma/python/__init__.py

    r1378 r1445  
    3131    print 'First time ASAP use. Setting up ~/.asap'
    3232    os.mkdir(userdir)
    33     shutil.copyfile(asapdata+"/data/ipythonrc-asap", userdir+"/ipythonrc-asap")
     33    #shutil.copyfile(asapdata+"/data/ipythonrc-asap", userdir+"/ipythonrc-asap")
    3434    f = file(userdir+"/asapuserfuncs.py", "w")
    3535    f.close()
     
    361361
    362362__date__ = '$Date$'.split()[1]
    363 __version__  = 'trunk'
     363__version__  = '2.2.0 alma'
     364# nrao casapy specific, get revision number
     365__revision__ = ' unknown '
     366casapath=os.environ["AIPSPATH"].split()
     367revinfo=casapath[0]+'/'+casapath[1]+'/python/2.5/asap/svninfo.txt'
     368if os.path.isfile(revinfo):
     369    f = file(revinfo)
     370    f.readline()
     371    revsionno=f.readline()
     372    f.close()
     373    __revision__ = revsionno.rstrip()
    364374
    365375def is_ipython():
Note: See TracChangeset for help on using the changeset viewer.