nixpkgs/pkgs/development/python-modules/site/pysite
Florian Friesdorf d670c0e45c include site in pythonpath of wrapped scripts, if python-site is installed
svn path=/nixpkgs/branches/stdenv-updates/; revision=32592
2012-02-26 17:23:38 +00:00

14 lines
213 B
Bash

#!/bin/bash
python=PYTHON_LIB_PREFIX
case "$1" in
path)
echo $(dirname $0)/../lib/$python/site-packages
;;
*)
echo Usage:
echo " $(basename $0) path"
exit 1
esac