Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinsmidsrod/8972878 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/8972878 to your computer and use it in GitHub Desktop.
Workaround for salt install of pip on Ubuntu 10.04 (virtualenvwrapper installation croaks on installed python-pip 0.3.1)
build-essential:
pkg.installed
python-pip:
pkg.removed
python-virtualenv:
pkg.removed
python-setuptools:
pkg.installed
python-dev:
pkg.installed
pip:
cmd.run:
- name: "easy_install -q pip"
- require:
- pkg: python-setuptools
- pkg: python-dev
- pkg: build-essential
virtualenv:
cmd.run:
- name: "pip install -q --upgrade virtualenv"
- require:
- cmd: pip
virtualenvwrapper:
cmd.run:
- name: "pip install -q --upgrade virtualenvwrapper"
- require:
- cmd: virtualenv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment