def wheels():
"""
Remotely build python binaries on image-factory server
"""
with lcd(env.local_path):
put('./requirements.txt', '/srv/build/wheel_requirements.txt')
put('./etc/base_image/image_requirements.txt',
'/srv/build/requirements.txt')
with cd('/srv/build/wheelhouse'):
run('rm -rf *.whl')
compose(cmd='-f service.yml -p %s run --rm wheel-factory' %
env.project_name, path='/srv/build')
评论列表
文章目录