[Nix-dev] Re: May I remove the old python code?

Marc Weber marco-oweber at gmx.de
Mon Jan 12 00:34:04 CET 2009


 
> This tells you why PYTHONPATH is *not* enough. I've spend about a week writing
> all this stuff and I didn't find a better solution. PYTHONPATH not working has
> forced me starting to write this.

Tongiht I remembered another point:
Consider this dependency chain:

libA requires libB

if you install libA into ~/.nix-profile/ it will be broken.

If you use the design I've chosen (installing a wrapper passing
NIX_PYTHON_SITES) you'll get libA and libB. Thus it'll just work.

So I still vote for the wrapper.

Sincerly
Marc Weber



More information about the nix-dev mailing list