Example #1
0
def update():
    """
    updates a virtualenv (pip install requirements.txt)
    """
    do_run(
        'cd %(path)s; bin/pip install -r requirements.txt --upgrade --no-deps'
        % config.sites["main"].deployment)
Example #2
0
def create():
    """
    creates a virtualenv and calls update
    """
    do_run('cd %(path)s; virtualenv . --system-site-packages --setuptools' % config.sites["main"].deployment)
    update()
    # this is ugly. I know. But it seems that on first run, pip does not
    # install the correct version of packages that are pulled directly from
    # git. Only the second time around it uses the correct one.
    update()
Example #3
0
def create():
    """
    creates a virtualenv and calls update
    """
    do_run('cd %(path)s; virtualenv . --system-site-packages --setuptools' %
           config.sites["main"].deployment)
    update()
    # this is ugly. I know. But it seems that on first run, pip does not
    # install the correct version of packages that are pulled directly from
    # git. Only the second time around it uses the correct one.
    update()
def update():
    """
    updates a virtualenv (pip install requirements.txt)
    """
    do_run('cd %(path)s; bin/pip install -r requirements.txt' % config.sites["main"].deployment)
def create():
    """
    creates a virtualenv and calls update
    """
    do_run('cd %(path)s; virtualenv . ' % config.sites["main"].deployment)
    update()
Example #6
0
def run():
    """
    runs buildout
    """
    # TODO: Refactor to use utils.config
    do_run('cd %(path)s;./bin/buildout -c %(buildout_cfg)s' % env)
Example #7
0
def create():
    """
    creates a virtualenv and calls update
    """
    do_run('cd %(path)s; virtualenv . ' % config.sites["main"].deployment)
    update()
def run():
    """
    runs buildout
    """
    # TODO: Refactor to use utils.config
    do_run('cd %(path)s;./bin/buildout -c %(buildout_cfg)s' % env)