opscode/cookbooks — pull request #365 by sivy (2012-03-06 02:47:15+00:00)
Title: COOK-1063

Teach python_pip about requirements files.

From the updated README:

# install from a requirements file
python_pip "/path/to/requirements.txt" do
is_requirements :true
virtualenv "/path/to/virtualenv
action :install
end

I added some code to check for `pip --version`, as 1.1 [removed](http://pypi.python.org/pypi/pip) the `--environment` parameter that the python_pip resource currently uses for installing into a virtualenv.