File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ Install packages using the new hotness in Python package management...[`pip`](ht
98
98
- interpreter: The Python interpreter to use. default is ` python2.6 `
99
99
- owner: The owner for the virtualenv
100
100
- group: The group owner of the file (string or id)
101
+ - options : Command line options (string)
101
102
102
103
# Example
103
104
@@ -116,6 +117,14 @@ Install packages using the new hotness in Python package management...[`pip`](ht
116
117
action :create
117
118
end
118
119
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
+
119
128
Usage
120
129
=====
121
130
You can’t perform that action at this time.
0 commit comments