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

Skip to content

Commit 3f8e285

Browse files
author
Akihiro Yamazaki
committed
correct markdown
1 parent 50ada46 commit 3f8e285

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ This cookbook includes LWRPs for managing:
3535
- pip packages
3636
- virtualenv isolated Python environments
3737

38-
### `python_pip`
38+
### python_pip
3939
Install packages using the new hotness in Python package management...[`pip`](http://pypi.python.org/pypi/pip). Yo dawg...easy_install is so 2009, you better ask your local Pythonista if you don't know! The usage semantics are like that of any normal package provider.
4040

4141
#### Actions
42+
4243
- :install: Install a pip package - if version is provided, install that specific version (default)
4344
- :upgrade: Upgrade a pip package - if version is provided, upgrade to that specific version
4445
- :remove: Remove a pip package
@@ -47,13 +48,15 @@ Install packages using the new hotness in Python package management...[`pip`](ht
4748
- :purge: Purge a pip package (this usually entails removing configuration files as well as the package itself). With pip packages this behaves the same as `:remove`
4849

4950
#### Attribute Parameters
51+
5052
- package_name: name attribute. The name of the pip package to install
5153
- version: the version of the package to install/upgrade. If no version is given latest is assumed.
5254
- virtualenv: virtualenv environment to install pip package into
5355
- options: Add additional options to the underlying pip package command
5456
- timeout: timeout in seconds for the command to execute. Useful for pip packages that may take a long time to install. Default 900 seconds.
5557

5658
#### Examples
59+
5760
```ruby
5861
# install latest gunicorn into system path
5962
python_pip "gunicorn"
@@ -78,7 +81,7 @@ package "django" do
7881
end
7982
```
8083

81-
### `python_virtualenv`
84+
### python_virtualenv
8285
[`virtualenv`](http://pypi.python.org/pypi/virtualenv) is a great tool that creates isolated python environments. Think of it as RVM without all those hipsters and tight jeans.
8386

8487
#### Actions
@@ -93,6 +96,7 @@ end
9396
- options : Command line options (string)
9497

9598
#### Examples
99+
96100
```ruby
97101
# create a 2.6 virtualenv owned by ubuntu user
98102
python_virtualenv "/home/ubuntu/my_cool_ve" do

0 commit comments

Comments
 (0)