1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Create a PIL symlink when installing PIL so the recommended way of importing PIL.something works

This commit is contained in:
Michael Raskin 2014-06-11 10:00:44 +04:00
parent b415876bdb
commit cc13182795

View file

@ -24,6 +24,11 @@ buildPythonPackage {
checkPhase = "python selftest.py";
buildPhase = "python setup.py build_ext -i";
postInstall = ''
cd "$out"/lib/python*/site-packages
ln -s $PWD PIL
'';
meta = {
homepage = http://www.pythonware.com/products/pil/;
description = "The Python Imaging Library (PIL)";