Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c8019a

Browse files
committed
[COOK-1113] Added doc for virtualenv options in README
1 parent d565498 commit 5c8019a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ Install packages using the new hotness in Python package management...[`pip`](ht
9898
- interpreter: The Python interpreter to use. default is `python2.6`
9999
- owner: The owner for the virtualenv
100100
- group: The group owner of the file (string or id)
101+
- options : Command line options (string)
101102

102103
# Example
103104

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

120+
# create a Python 2.6 virtualenv with access to the global packages owned by ubuntu user
121+
python_virtualenv "/home/ubuntu/my_old_ve" do
122+
owner "ubuntu"
123+
group "ubuntu"
124+
options "--system-site-packages"
125+
action :create
126+
end
127+
119128
Usage
120129
=====
121130

0 commit comments

Comments
 (0)