Example #1
0
import os
import time
import casadef
from procmgr import procmgr as _procmgr

import __casac__
_cu = __casac__.utils.utils()

from casa_system_defaults import casa
casa['version'] = _cu.version_string()
casa['version_desc'] = _cu.version_desc()

###########################################################################
######## these will be removed at the CASA 5.1 code freeze time... ########
casa['build'] = {
    'time': casadef.build_time,
    'version': _cu.version_info(),
    'number': casadef.subversion_revision
}
casa['source'] = {
    'url': casadef.subversion_url,
    'revision': casadef.subversion_revision
}
###########################################################################

procmgr = _procmgr()
Example #2
0
         'helpers': {
             'crashPoster' : 'CrashReportPoster',
             'logger': 'casalogger',
             'viewer': 'casaviewer',
             'info': None,
             'dbus': None,
             'ipcontroller': None,
             'ipengine': None
         },
         'dirs': {
             'rc': _homedir + '/.casa',
             'data': None,
             'recipes': None,
             'root': None,
             'python': None,
             'pipeline': None,
             'xml': None
         },
         'flags': { },
         'files': { 
             'logfile': os.getcwd( ) + '/casa-'+time.strftime("%Y%m%d-%H%M%S", time.gmtime())+'.log'
         },
         'state' : {
             'init_version': 1,
             'startup': True,
             'unwritable': set( )
         },
       }

procmgr = _procmgr( )