-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Han-Wen Nienhuys wrote: > Marijn Schouten (hkBst) escreveu: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Marijn Schouten wrote: >>> Hi list, >>> >>> this is a little snippet from the gentoo build script for lilypond >>> >>> # lilypond python scripts *prepend* /usr/share/lilypond/${PV}/python to >>> # sys.path, causing python to attempt to rebuild the pyc, which >>> generates >>> # sandbox errors (and is wrong anyway). Change this policy to use >>> # sys.path.append so that PYTHONPATH, set by the Makefiles, takes >>> # precendence. >>> grep -rlZ sys.path.insert --include \*.py ${S} | xargs -0r sed -i >>> 's/sys.path.insert \?(0, /sys.path.append (/' >>> >>> any thoughts? > > who is setting PYTHONPATH, and for what reason?
on my box it is set to /usr/lib/portage/pym The Gentoo package manager portage is written in python. Marijn -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFuKaBp/VmCx0OL2wRAlgjAKCOZoXhOlIb2RjaV1/M5CXxbgGp9QCfYcM4 RFZUcqJzWRghS6JW3FDzL4c= =yvTO -----END PGP SIGNATURE----- _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel