version 1.22, 2014/09/11 16:54:15
|
version 1.24, 2016/04/18 18:14:44
|
|
|
import xml.etree.ElementTree as ET | import xml.etree.ElementTree as ET |
from subprocess import check_output, CalledProcessError | from subprocess import check_output, CalledProcessError |
| |
|
if sys.version_info < (2, 7): |
|
raise Exception("You must run the 2.7 release, or a more recent release, of Python.") |
|
|
# Constants | # Constants |
VERS_FILE = 'jsoc_version.h' | VERS_FILE = 'jsoc_version.h' |
SDP_CFG = 'configsdp.txt' | SDP_CFG = 'configsdp.txt' |
Line 77 PERL_FXNS_B = """sub get |
|
Line 80 PERL_FXNS_B = """sub get |
|
PY_BINPATH = '#/usr/bin/python\n' | PY_BINPATH = '#/usr/bin/python\n' |
| |
PY_FXNS_A = """ | PY_FXNS_A = """ |
class DRMSParams: |
class DRMSParams(object): |
def __init__(self): | def __init__(self): |
self.params = {} | self.params = {} |
self.initialize() | self.initialize() |