On Fri, 24 Feb 2012 22:16:24 +0400, "Yury G. Kudryashov" <[email protected]> wrote: > >> echo import rdflib | \ > >> PYTHONPATH=${pythonPackages.rdflib}/lib/python2.7/site-packages python -
> > ls -l ${pythonPackages.rdflib}/lib/python2.7/site-packages
> rdflib-3.0.0-py2.7.egg
PYTHONPATH=${pythonPackages.rdflib}/lib/python2.7/site-packages/rdflib-3.0.0-py2.7.egg
should do it. There is no pth file and if it were there it would not be
used. Both things are fixed with the patch series, but it currently
breaks some existing packages.
> > echo import sys,pprint;pprint.pprint(sys.path) | \
> > PYTHONPATH=${pythonPackages.rdflib}/lib/python2.7/site-packages python -
> ['',
> '/path/to/pythonPackages.rdflib/lib/python2.7/site-packages',
'/path/to/pythonPackages.rdflib/lib/python2.7/site-packages/rdflib-3.0.0-py2.7.egg',
needs to end up here.
--
Florian Friesdorf <[email protected]>
GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: [email protected]
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
pgp2BuiZXAGbk.pgp
Description: PGP signature
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
