[Fink-devel] Fink package uses PYTHONPATH in RuntimeVars

2013-10-04 Thread Hanspeter Niederstrasser
Dear Fink developer: Fink-git now has a validator check to make sure that PYTHONPATH is not set in RuntimeVars as this will almost assuredly break pythonmods that use a different python and accidentally pick up a mod due to PYTHONPATH being set. The following pythonmods in the 10.4 and 10.7 tr

Re: [Fink-devel] Fink package uses PYTHONPATH in RuntimeVars

2013-10-04 Thread Kurt Schwehr
Hanspeter, I whole heartedly agree. I have nothing to do with the -systempython variants. I agree that it is a bad idea to set PYTHONPATH! Additionally, putting me down as the maintainer for this type of thing isn't the best either. Please set yourself as maintainer when forking packages for

Re: [Fink-devel] Fink package uses PYTHONPATH in RuntimeVars

2013-10-04 Thread Kurt Schwehr
What about a wrapper that sits next to FINKROOT/bin/python?.? that sets the PYTHONPATH and then passes the buck to /usr/bin/python? On Oct 4, 2013, at 1:51 PM, Hans-Christoph Steiner wrote: > > I think I'm the leading force on the systempython variants. Sorry, I just > copied the .info files

Re: [Fink-devel] Fink package uses PYTHONPATH in RuntimeVars

2013-10-04 Thread Kurt Schwehr
I would argue very strongly that fink should NEVER be modifying the behavior of anything that is run like that. If I set my path to have fink first and fink has a FINKROOT/bin/python bin that is systempython, then okay. I would consider it okay to then me modifying the behavior of either of th

Re: [Fink-devel] Fink package uses PYTHONPATH in RuntimeVars

2013-10-04 Thread Hans-Christoph Steiner
Sounds simple and effective. So something like /sw/bin/systempython2.6? But it won't work for people who run things like /usr/bin/python myscript.py .hc On Oct 4, 2013, at 4:59 PM, Kurt Schwehr wrote: > What about a wrapper that sits next to FINKROOT/bin/python?.? that sets the > PYTHONPATH

Re: [Fink-devel] Fink package uses PYTHONPATH in RuntimeVars

2013-10-04 Thread Hans-Christoph Steiner
I think I'm the leading force on the systempython variants. Sorry, I just copied the .info files, so I might not have changed the maintainer. I'm happy to replace it with me. I'm not particular what the mechanism is, as long as /usr/bin/python can easily find the libs in /sw/Library/Python/.

Re: [Fink-devel] [cvs] dists/10.7/stable/main/finkinfo/libs/pythonmods virtualenv-systempython.info, NONE, 1.1

2013-10-04 Thread Hans-Christoph Steiner
On Sep 21, 2013, at 6:06 PM, Hanspeter Niederstrasser wrote: > On 9/20/2013 5:58 PM, Hans-Christoph Steiner wrote: >> >> On Sep 20, 2013, at 4:37 PM, Hanspeter Niederstrasser wrote: >> RuntimeVars: PYTHONPATH: %p/Library/Python/%type_raw[python]/site-packages >>> >>> Won't this break anyt

Re: [Fink-devel] Fink package uses PYTHONPATH in RuntimeVars

2013-10-04 Thread Daniel Johnson
On Oct 4, 2013, at 5:00 PM, Hans-Christoph Steiner wrote: > > Sounds simple and effective. So something like /sw/bin/systempython2.6? But > it won't work for people who run things like /usr/bin/python myscript.py > > .hc No, it won't, but there really isn't any way to do that which won't a