On Fri, 24 Feb 2012 22:16:24 +0400, "Yury G.  Kudryashov" 
<urkud.ur...@gmail.com> 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 <f...@chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: f...@chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC

Attachment: pgp2BuiZXAGbk.pgp
Description: PGP signature

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to