Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

This recipe generates activation script for zc.buildout environment.

Project Description


This recipe can be used to create an activation script for zc.buildout environment.

You can see an example of how to use the recipe below:

>>> data = """
... [buildout]
... parts = activate
... [activate]
... recipe = evg.recipe.activate
... """
>>> touch('buildout.cfg', data=data)
>>> sh('bin/buildout -vvvvvv install activate')

Run buildout. Then on POSIX systems you can do:

$ source bin/activate

This will change your $PATH to point to the virtualenv bin/ directory. You have to use source because it changes the environment in-place. After activating an environment you can use the function deactivate to undo the changes:

(buildout) $ deactivate

The activate script will also modify your shell prompt to indicate which environment is currently active.

Supported options

The recipe supports the following options:

The name of the script created in the bin folder. This script is the equivalent of the activate virtualenv. It defaults to activate.
The name of the function to deactivate environment. It defaults to deactivate.
The name of the environment. It will use buildout directory name by default.
The name of paltform to generate scripts. It will be detected by default. Possible values are: posix, win32, cygwin and jython.

0.4 (2010-06-07)

0.3 (2010-04-13)

  • Added the name option to set prompt name.
  • Added the platform option to select which kind of scripts will be generated.
  • Added Windows support.

0.2 (2010-04-12)

  • Add CHANGES.txt to

0.1 (2010-04-12)

  • Generate activation script for zc.buildout environment on POSIX systems.
Release History

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
evg.recipe.activate-0.5.tar.gz (4.7 kB) Copy SHA256 Checksum SHA256 Source Jun 15, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting