[Nix-dev] Nix(OS) on upcoming sprints/events

Marc Weber marco-oweber at gmx.de
Sat Feb 18 16:17:26 CET 2012


Excerpts from Florian Friesdorf's message of Sat Feb 18 00:46:01 +0100 2012:
> Attached is a patchset to achieve pureness for python packages and
> handle dependencies via pth files.
Can you describe what you mean by "handling dependencies using pth
files'?

My (probably limiting) understanding of .pth files was that it its a way
to add additional subdirectories to sys.path and that PYTHONPATH is
likely to miss interpreting them. (I may be wrong about that).

So do you use .pth files to achieve something similar to rpath? or what
are you doing?

Thus if you have this dependency chain:
A -> B -> C

will it be enough to install A into your ~/.nix-profile and B and C
python files will be found automatically without putting them into
~/.nix-profile/..../python-sites or such?

Marc Weber


More information about the nix-dev mailing list