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

This recipe generates activation script for zc.buildout environment.

Project Description

evg.recipe.activate

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:

activate
The name of the script created in the bin folder. This script is the equivalent of the activate virtualenv. It defaults to activate.
deactivate
The name of the function to deactivate environment. It defaults to deactivate.
name
The name of the environment. It will use buildout directory name by default.
platform
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 MANIFEST.in.

0.1 (2010-04-12)

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

Release History

This version
History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

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