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 anything else that has already set PYTHONPATH?  At
>>> least, you'll probably want to append or prepend to the existing value
>>> rather than over writing.  And how will fink-python using pymods react
>>> to being forced to search in %p/Library/Python?
>> 
>> So far this has been working for what I have be doing (just today).  These 
>> are all things I'm not aware of.  What do you propose?  Should I just append 
>> $PYTHONPATH ?  Like:
>> 
>> RuntimeVars: PYTHONPATH: 
>> %p/Library/Python/%type_raw[python]/site-packages:$PYTHONPATH
> 
> As danielj mentioned, this will break.  Unfortunately, it snuck through for 
> you because of two faults in the validator: 1) validator doesn't do % 
> expansion before checking a .info, and 2) Library/Python was not added to the 
> validator when it became a legal path.
> 
> I've written a patch that should deal with #2, but #1 will have to be dealt 
> with separately since it's a much bigger overall issue.
> 
> https://github.com/fink/fink/issues/88
> 
> Hanspeter

I don't remember now who suggested it, I just added it and it worked for me.  
I've been using it quite a bit, but I don't use python 3.x at all currently.  

.hc


------------------------------------------------------------------------------
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