fabfile.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:cookiecutter-flask-seed-minimal 作者: hypebeast 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号