spacepaste

  1.  
  2. #
  3. # Debian Jessie PIP Fix
  4. # Use the PIP version of PIP instead of the Debian package
  5. #
  6. install pip:
  7. pkg.purged:
  8. - name: python-pip
  9. cmd.script:
  10. - name: salt://files/get-pip.py
  11. - unless: test -d /usr/local/lib/python2.7/dist-packages/pip
  12. - require:
  13. - pkg: install pip
  14. Default Packages:
  15. pkg.installed:
  16. - pkgs:
  17. - curl
  18. - aptitude
  19. - python-dev
  20. - python-requests-whl
  21. - m2crypto
  22.