コード例 #1
0
def create_virtualenv(update_on_change=False):
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(OLYMPIA, 'requirements/prod.txt'),
                        update_on_change=update_on_change)

    if settings.LOAD_TESTING:
        helpers.pip_install_reqs(pjoin(OLYMPIA, 'requirements/load.txt'))
コード例 #2
0
ファイル: fabfile.py プロジェクト: ngokevin/zamboni
def create_virtualenv(update_on_change=False):
    helpers.create_venv(
        VIRTUALENV, settings.PYREPO, pjoin(ZAMBONI, "requirements/prod.txt"), update_on_change=update_on_change
    )

    if settings.LOAD_TESTING:
        helpers.pip_install_reqs(pjoin(ZAMBONI, "requirements/load.txt"))
コード例 #3
0
ファイル: fabfile.py プロジェクト: chilyashev/zamboni
def create_virtualenv():
    if VIRTUALENV.startswith(pjoin('/data', 'src', settings.CLUSTER)):
        local('rm -rf %s' % VIRTUALENV)

    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(ZAMBONI, 'requirements/prod.txt'))

    if settings.LOAD_TESTING:
        helpers.pip_install_reqs(pjoin(ZAMBONI, 'requirements/load.txt'))