Skip to content

Commit

Permalink
[COOK-1113] Added doc for virtualenv options in README
Browse files Browse the repository at this point in the history
  • Loading branch information
rody committed May 24, 2012
1 parent d565498 commit 5c8019a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Install packages using the new hotness in Python package management...[`pip`](ht
- interpreter: The Python interpreter to use. default is `python2.6`
- owner: The owner for the virtualenv
- group: The group owner of the file (string or id)
- options : Command line options (string)

# Example

Expand All @@ -116,6 +117,14 @@ Install packages using the new hotness in Python package management...[`pip`](ht
action :create
end

# create a Python 2.6 virtualenv with access to the global packages owned by ubuntu user
python_virtualenv "/home/ubuntu/my_old_ve" do
owner "ubuntu"
group "ubuntu"
options "--system-site-packages"
action :create
end

Usage
=====

Expand Down

0 comments on commit 5c8019a

Please sign in to comment.