Skip to content

Commit

Permalink
python v1.0.0, pip install script is now downloaded with remote_file …
Browse files Browse the repository at this point in the history
…instead of curl
  • Loading branch information
schisamo committed Feb 17, 2011
1 parent e0f596c commit 5bbd2cc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "python",
"description": "Installs python packages",
"description": "Installs python packages. Includes LWRPs for managing `pip` packages and `virtualenv` isolated Python environments.",
"long_description": "",
"maintainer": "Opscode, Inc.",
"maintainer_email": "[email protected]",
Expand Down Expand Up @@ -41,5 +41,5 @@
"recipes": {
"python": "Installs python, pip, and virtualenv"
},
"version": "0.99.0"
"version": "1.0.0"
}
4 changes: 2 additions & 2 deletions metadata.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
maintainer "Opscode, Inc."
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs python packages"
version "0.99"
description "Installs python packages. Includes LWRPs for managing `pip` packages and `virtualenv` isolated Python environments."
version "1.0.0"

recipe "python", "Installs python, pip, and virtualenv"

Expand Down
6 changes: 6 additions & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
easy_install pip
EOH
not_if "which pip"
action :nothing
end
remote_file "#{Chef::Config[:file_cache_path]}/distribute_setup.py" do
source "http://python-distribute.org/distribute_setup.py"
notifies :run, "bash[install-pip]", :immediate
not_if "which pip"
end

python_pip "virtualenv" do
Expand Down

0 comments on commit 5bbd2cc

Please sign in to comment.