def _install_deis():
script = requests.get(settings.DEIS_INSTALL_URL).text
with contextmanagers.chdir(private_dir.private_dir_path(settings.APP_NAME)):
subprocess.check_call(['bash', '-c', script, 'install.sh', '1.12.3'])
os.chmod(path_utils.executable_path('deis'), stat.S_IRWXU)
评论列表
文章目录