installation info in a nutshell

PyPI name: py

Pythons: 2.4, 2.5, 2.6, 2.7, 3.0, 3.1.x, Jython-2.5.1, PyPy-1.3

Operating systems: Linux, Windows, OSX, Unix

Requirements: setuptools or Distribute

Installers: easy_install and pip

hg repository:

easy install or pip py

Both Distribute and setuptools provide the easy_install installation tool with which you can type into a command line window:

easy_install -U py

to install the latest release of the py lib. The -U switch will trigger an upgrade if you already have an older version installed.


As of version 1.4 py does not contain py.test anymore - you need to install the new `pytest`_ distribution.

Working from version control or a tarball

To follow development or start experiments, checkout the complete code and documentation source with mercurial:

hg clone

Development takes place on the ‘trunk’ branch.

You can also go to the python package index and download and unpack a TAR file:

activating a checkout with setuptools

With a working Distribute or setuptools installation you can type:

python develop

in order to work inline with the tools and the lib of your checkout.

Mailing list and issue tracker

Project Versions

Table Of Contents

Previous topic

Welcome to py’s documentation!

Next topic


This Page