prezto_config/modules/python
2012-09-02 21:14:32 -04:00
..
init.zsh [Fix #218] Add support for pythonz 2012-09-02 21:14:32 -04:00
README.md [Fix #218] Add support for pythonz 2012-09-02 21:14:32 -04:00

Python

Enables local Python and local Python package installation.

Local Python Installation

pythonz builds and installs multiple Python versions locally in the home directory.

This module prepends the pythonz directory to the path variable to enable the execution of pythonz.

Usage

Install Python versions with pythonz install into ~/.pythonz/pythons.

Local Package Installation

Since version 2.6, Python supports per user package installation, as defined in PEP 370.

This module prepends per user site directories to the relevant path variables to enable the execution of user installed scripts and the reading of documentation.

Usage

Install packages into the per user site directory with easy_install --user or pip install --user.

virtualenvwrapper

virtualenvwrapper is a frontend to the popular virtualenv utility.

virtualenv creates isolated Python environments and virtualenvwrapper provides convenient shell functions to create, switch, and manage them.

Usage

Install virtualenvwrapper and set $WORKON_HOME to the path where virtual environments will be stored.

Aliases

  • py is short for python.

Pythonz

  • pyz is short for pythonz.
  • pyzc removes stale source folders and archives.
  • pyzi installs Python versions.
  • pyzl lists installed Python versions.
  • pyzL lists available Python versions.
  • pyzu updates itself to the latest version.
  • pyzx uninstalls Python versions.

Authors

The authors of this module should be contacted via the issue tracker.