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

+5
+5
pkgs/development/python-modules/pil/default.nix
··· 24 checkPhase = "python selftest.py"; 25 buildPhase = "python setup.py build_ext -i"; 26 27 meta = { 28 homepage = http://www.pythonware.com/products/pil/; 29 description = "The Python Imaging Library (PIL)";
··· 24 checkPhase = "python selftest.py"; 25 buildPhase = "python setup.py build_ext -i"; 26 27 + postInstall = '' 28 + cd "$out"/lib/python*/site-packages 29 + ln -s $PWD PIL 30 + ''; 31 + 32 meta = { 33 homepage = http://www.pythonware.com/products/pil/; 34 description = "The Python Imaging Library (PIL)";