Python deployments

From Freephile Wiki
Revision as of 16:37, 27 July 2016 by Freephile (talk | contribs) (basic pip examples)

Jump to navigation Jump to search

Hynek Schlawack

Python Packaging[edit | edit source]

Christoph Haas discusses virtualenv, easy_install, pip, apt/yum https://workaround.org/easy-install-debian

Stackoverflow says use pip over easy_install, but things have been changing over the past few years, so the future/best practice may require a bit more digging.

Basic PIP[edit | edit source]

  • Installing a package is as simple as sudo pip install foo
  • Upgrades are sudo pip install --upgrade foo
  • sudo pip uninstall foo if you want to remove foo