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 these

*) python myscript.py # where my path sees python from fink, which is a wrapped 
system python
*) run myscript.py # which starts with #!/usr/bin/env python

IMHO, Anything that modifies (even if just adding) to the system python when 
accessed via /usr/bin/python is asking for doom and gloom.

On Oct 4, 2013, at 2:00 PM, Hans-Christoph Steiner <h...@eds.org> 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
> 
> 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 and then passes the buck to /usr/bin/python?
>> 
>> On Oct 4, 2013, at 1:51 PM, Hans-Christoph Steiner <h...@eds.org> wrote:
>> 
>>> 
>>> 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/...  it sounds like blocking 
>>> PYTHONPATH will break the systempython variants.
>>> 
>>> .hc
>>> 
>>> On Oct 4, 2013, at 12:15 PM, Kurt Schwehr wrote:
>>> 
>>>> 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 a -systempython variant.  Thanks!
>>>> 
>>>> -kurt  (goatbar)
>>>> 
>>>> virtualenv-systempython.info:RuntimeVars: PYTHONPATH: 
>>>> %p/Library/Python/%type_raw[python]/site-packages
>>>> 
>>>> grep -i schwehr virtualenv-systempython.info 
>>>> Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>
>>>> 
>>>> cvs log virtualenv-systempython.info
>>>> 
>>>> CVS file: 
>>>> /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/pythonmods/virtualenv-systempython.info,v
>>>> ----------------------------
>>>> revision 1.1
>>>> date: 2013/09/20 20:03:30;  author: eighthave;  state: Exp;
>>>> add pip+virtualenv suite based on the system python
>>>> 
>>>> 
>>>> On Oct 4, 2013, at 8:00 AM, Hanspeter Niederstrasser 
>>>> <f...@snaggledworks.com> wrote:
>>>> 
>>>>> 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 trees currently 
>>>>> set PYTHONMOD in RuntimeVars and will be affected by the new validator 
>>>>> check:
>>>>> 
>>>>> pip-systempython
>>>>> setuptools-tng-systempython
>>>>> virtualenv-systempython
>>>>> pil-systempython25
>>>>> pip-systempython
>>>>> pyserial-systempython
>>>>> virtualenv-systempython
>>>>> 
>>>>> If you need help in fixing your package, please follow up on the 
>>>>> fink-devel mailing list.  Thank you,
>>>>> 
>>>>> Hanspeter
>>>> 
>>> 
>> 
> 


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to