On Thu, 26 Jul 2012 22:31:48 +0200, Mathijs Kwik <math...@bluescreen303.nl> 
wrote:
> Hi all,
> 
> I'm not familiar with python packaging and module lookup, so I hope
> someone can help here.
> 
> I'm trying to add support for xattrs and acls to "bup".
> I packaged pyxattr and pylibacl.
> They build fine and leave
> $out/lib/python2.7/site-packages/*-linux-x86_64.egg files.
> 
> I checked the source of "bup" and it just tries "import posix1e"
> (which is in the root of one of the eggs) at runtime (not during
> install).
> So I used wrapProgram and "toPythonPath" to prefix these directories
> to PYTHONPATH at runtime.
> I both tried adding the directory itself and the path to the egg, but
> it doesn't work yet.
> 
> Am I missing something?

If you package python, you should use buildPythonPackage and put it into
top-level/python-packages.nix. If that does not work, please let me
know.

Also, if you send your patches or publish them somehow I will take a
look.

regards
florian
-- 
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: pgpqIF2tGMujv.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