Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked frompoise/python

Commit5c8019a

Browse files
committed
[COOK-1113] Added doc for virtualenv options in README
1 parentd565498 commit5c8019a

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)

[8]ページ先頭

©2009-2025 Movatter.jp