Example #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'))
Example #2
0
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"))
Example #3
0
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'))