コード例 #1
0
ファイル: tempo.py プロジェクト: shaoguangleo/AstroSoft
def install_tempo():
    # Here will install the tempo
    os.chdir(global_setting.AstroSoft_Src)
    os.system('tar zxvf '+ tempo_name)
    os.chdir('tempo')
    os.system('./prepare')
    install_package.install_package(global_setting.AstroSoft_tempo,tempo_name,configure_option,4)
    # Here to copy some needed files
    os.system('cp -rv clock ephem tzpar util '+global_setting.AstroSoft_tempo)
    # Here to copy the tempo.hlp to $TEMPO
    os.system('cp tempo.hlp '+global_setting.AstroSoft_tempo)
コード例 #2
0
ファイル: tempo.py プロジェクト: xiaobotianxie/AstroSoft
def install_tempo():
    # Here will install the tempo
    os.chdir(global_setting.AstroSoft_Src)
    os.system('tar zxvf ' + tempo_name)
    os.chdir('tempo')
    os.system('./prepare')
    install_package.install_package(global_setting.AstroSoft_tempo, tempo_name,
                                    configure_option, 4)
    # Here to copy some needed files
    os.system('cp -rv clock ephem tzpar util ' +
              global_setting.AstroSoft_tempo)
    # Here to copy the tempo.hlp to $TEMPO
    os.system('cp tempo.hlp ' + global_setting.AstroSoft_tempo)
コード例 #3
0
def install_calceph():
    # Here will install the calceph
    install_package.install_package(global_setting.AstroSoft_calceph,
                                    calceph_name, configure_option, 4)
コード例 #4
0
ファイル: calceph.py プロジェクト: shaoguangleo/AstroSoft
def install_calceph():
    # Here will install the calceph
    install_package.install_package(global_setting.AstroSoft_calceph,calceph_name,configure_option,4)