NixOS/nixpkgs — pull request #206 by chaoflow (2012-12-05 10:59:12+00:00)
Title: python pureness, cleanup, and enable pth loaders (setuptoolsSite, recursivePthLoader)

This pull request targets changes discussed at and supersedes https://github.com/NixOS/nixpkgs/pull/185:

- always-unzip eggs
- make installCommand easily overridable
- make distutils offline during installation, provide this offlineDistutils for optional later usage

beyond that a summary of changes:

- cleanup of python packages: enable more tests, some updates, switch more packages to buildPythonPackage
- pdb available as bin/pdb and bin/pdb2.7|6
- preserve easy_install.pth file to enable nix' runtime dependency detection and make them available to be used with a pth loader (see next two)
- remove colliding site.py files, packaged separately instead setuptoolsSite
- recursive pth loader as optional replacement for setuptools' site.py
- create pth file for propagated build inputs
- pil and pycrypto now for python2.6 and python2.7
- checkPhase after installPhase for python modules to test properly installed modules

Hydra builts a [python-rework](http://hydra.nixos.org/jobset/nixpkgs/python-rework) jobset. It uses the [python branch](https://github.com/chaoflow/nixpkgs/tree/python) which is this python-merge branch + hydra-specific patches.