Exemplo n.º 1
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"))
Exemplo n.º 2
0
def create_virtualenv():
    venv = VIRTUALENV
    if venv.startswith(pjoin('/data', 'src', settings.CLUSTER)):
        local('rm -rf %s' % venv)

    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(SOLITUDE, 'requirements/prod.txt'))
Exemplo n.º 3
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'))
Exemplo n.º 4
0
def create_virtualenv():
    venv = VIRTUALENV
    if venv.startswith(pjoin('/data', 'src', settings.CLUSTER)):
        local('rm -rf %s' % venv)

    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(SOLITUDE, 'requirements/prod.txt'))
Exemplo n.º 5
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'))
Exemplo n.º 6
0
def create_virtualenv():
    with lcd(WEBPAY):
        # Compare the last reflog change with the latest change we introduced.
        status = local('git diff HEAD@{1} HEAD --name-only', capture=True)

    if 'requirements/' in status:
        venv = VIRTUALENV
        if not venv.startswith('/data'):
            raise Exception('venv must start with /data')

        local('rm -rf %s' % venv)
        helpers.create_venv(venv, settings.PYREPO,
                            '%s/requirements/prod.txt' % WEBPAY)
Exemplo n.º 7
0
def create_virtualenv():
    with lcd(WEBPAY):
        # Compare the last reflog change with the latest change we introduced.
        status = local('git diff HEAD@{1} HEAD --name-only', capture=True)

    if 'requirements/' in status:
        venv = VIRTUALENV
        if not venv.startswith('/data'):
            raise Exception('venv must start with /data')

        local('rm -rf %s' % venv)
        helpers.create_venv(venv, settings.PYREPO,
                            '%s/requirements/prod.txt' % WEBPAY)
Exemplo n.º 8
0
def create_virtualenv(update_on_change=False):
    helpers.create_venv(VIRTUALENV,
                        settings.PYREPO,
                        pjoin(ADDON_REGISTRATION, 'requirements/prod.txt'),
                        update_on_change=update_on_change)
Exemplo n.º 9
0
def create_virtualenv(update_on_change=False):
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(TRUNION, 'prod-reqs.txt'),
                        update_on_change=update_on_change)
Exemplo n.º 10
0
def create_virtualenv():
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        '%s/requirements/prod.txt' % GEODUDE,
                        update_on_change=True, rm_first=True)
Exemplo n.º 11
0
def create_virtualenv():
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(MONOLITH, 'requirements/prod.txt'))
Exemplo n.º 12
0
def create_virtualenv():
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(MONOLITH, 'requirements/prod.txt'))
Exemplo n.º 13
0
def create_virtualenv(update_on_change=False):
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(ADDON_REGISTRATION, 'requirements/prod.txt'),
                        update_on_change=update_on_change)
Exemplo n.º 14
0
def create_virtualenv(update_on_change=False):
    helpers.create_venv(VIRTUALENV,
                        settings.PYREPO,
                        pjoin(TRUNION, 'prod-reqs.txt'),
                        update_on_change=update_on_change)
Exemplo n.º 15
0
def create_virtualenv(update_on_change=True):
    helpers.create_venv(VIRTUALENV,
                        settings.PYREPO,
                        pjoin(APP, 'requirements.prod.txt'),
                        update_on_change=update_on_change)
Exemplo n.º 16
0
def create_virtualenv(update_on_change=True):
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(APP, 'requirements.prod.txt'),
                        update_on_change=update_on_change)