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:
parent
b415876bdb
commit
cc13182795
|
@ -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)";
|
||||
|
|
Loading…
Reference in a new issue