def install_dist_package():
"""Install the dist package on the remote host(s)."""
with cd(remote_app_dir):
with prefix(env.activate):
sudo('pip install {}'.format(dist_package_file))
# remove dist package
run('rm {}'.format(dist_package_file))
# END DEPLOYMENT HELPERS
# Supervisor
fabfile.py 文件源码
python
阅读 23
收藏 0
点赞 0
评论 0
评论列表
文章目录