Beispiel #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"))
Beispiel #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'))
Beispiel #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'))
Beispiel #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'))
Beispiel #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'))
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #10
0
def create_virtualenv():
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        '%s/requirements/prod.txt' % GEODUDE,
                        update_on_change=True, rm_first=True)
Beispiel #11
0
def create_virtualenv():
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(MONOLITH, 'requirements/prod.txt'))
def create_virtualenv():
    helpers.create_venv(VIRTUALENV, settings.PYREPO,
                        pjoin(MONOLITH, 'requirements/prod.txt'))
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)
Beispiel #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)
def create_virtualenv(update_on_change=True):
    helpers.create_venv(VIRTUALENV,
                        settings.PYREPO,
                        pjoin(APP, 'requirements.prod.txt'),
                        update_on_change=update_on_change)
Beispiel #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)