Paver makes it easy to set up virtualenv environments for development and deployment. Virtualenv gives you a place to install Python packages and keep them separate from your main system’s Python installation.
You may specify which virtual environment should particular task use. Do this with @virtualenv decorator:
from paver.easy import task
from paver.virtual import virtualenv
@task
@virtualenv(dir="virtualenv")
def t1():
import some_module_existing_only_in_virtualenv
Tasks for managing virtualenv environments.
Creates a virtualenv bootstrap script. The script will create a bootstrap script that populates a virtualenv in the current directory. The environment will have paver, the packages of your choosing and will run the paver command of your choice.
This task looks in the virtualenv options for:
Run decorated task in specified virtual environment.