Re: [Pythonmac-SIG] [Visualpython-users] Re: avoid dueling pythons on tiger

2005-06-08 Thread Dethe Elza
On 7-Jun-05, at 7:16 PM, Jon Schull wrote:


> Thanks I have done that (by adding " set path = (/usr/local/bin  
> $path)" to  .tcshrc) and all is well.
>
> Now, as momentary liaison between the  pythonmac and vpython lists  
> I'll mention that VPython (a truly beautiful thing) could be made  
> independent of  X11 if someone from this group knew how to liberate  
> it...
>

I took a stab at it once, before VPython was refactored into C++, but  
I was still pretty new to OS X programming at the time, and it  
defeated me.  I haven't yet taken a look at the C++ version, it's on  
my todo list, but not a high priority right now.  I'd love to see  
VPython on OS X properly, but my hobby coding time is pretty limited  
right now.

--Dethe

"Well I've wrestled with reality for thirty-five years now, doctor,  
and I'm
happy to state I've finally won out over it." -- Elwood P. Dowd, Harvey


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] [Visualpython-users] Re: avoid dueling pythons on tiger

2005-06-08 Thread Jon Schull
Thanks I have done that (by adding " set path = (/usr/local/bin $path)" to  .tcshrc) and all is well.Now, as momentary liaison between the  pythonmac and vpython lists I'll mention that VPython (a truly beautiful thing) could be made independent of  X11 if someone from this group knew how to liberate it...On Jun 7, 2005, at 10:16 AM, Bruce Sherwood [who maintains VPython] wrote:Maybe a Mac expert will step forward and make a version of Visual that can be driven by the native Mac Python? After all, OpenGL doesn't need X11, it's just that lacking Mac-specific expertise the only way we could get VPython running on Mac OSX was to piggyback off the Linux/Unix version. What is needed is really just one file, equivalent to wgl.cpp which handles Windows aspects (creating the graphics window, handling keyset and moust inputs, etc.). Is there anyone in the VPython commmunity who could write macgl.cpp?On Tue, 2005-06-07 at 11:54 -0400, Jon Schull wrote:That would be a very big step forward in lots of waysIs it clear that this requires understanding of VPython internals?Only somewhat.  The platform-specific parts of VPython are fairlylimited; the hardest part is probably learning the OSX GUI APIs.You would need to write implementations of glContext and glFont(declared in glcontext.h).  You will probably also need to write aplatmac.{cpp,h} files that contains all of the functionality present inplat{linux,win}.{cpp,h}.  You should be able to get a considerableamount of reuse from the platlinux.{h,cpp} files.  If there is anyambiguity about the responsibilities of these classes, I'll be happy tohelp out anyone who would be doing this work.I would recommend using the Carbon or Core Platform C interfaces ratherthan Cocoa via Objective-C++.-Jonathan=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Jon Schull, Ph.D.Associate ProfessorInformation TechnologyRochester Institute of Technology102 Lomb Memorial DriveRochester, New York 14623[EMAIL PROTECTED] 585-738-6696 On Jun 7, 2005, at 9:53 PM, Bob Ippolito wrote:On Jun 6, 2005, at 8:59 PM, Jon Schull wrote: Please forgive the cross-post.   I think this is a cross group issue.I've newly installed Tiger and would like to avoid the dueling pythons problem that plagued me with 0SX 10.3.  It would be nice to be running just one python, but I suppose that would be asking too much?I installed Bob's MacPython 2.4.1 from http://undefined.org/python/Double clicking the apps works fine.  But when I type "python" from terminal I get python Apple's python 2.3.5.   I'm sure this is obvious to many, but I'm also sure I'm not the only person who starts getting uneasy at this point.  So before I go too deep, I thought I'd askIs there a "right" way to be using just one (or just two) pythons and avoid conflicts? Put /usr/local/bin before /usr/bin on your PATH.  The default PATH includes ONLY Apple-installed components.  This is an "issue" with any third party software that has a command-line interface, as they all (should be, anyway) install to /usr/local/bin.-bob---This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotputa projector? How fast can you ride your desk chair down the office luge track?If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20___Visualpython-users mailing list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/visualpython-users ___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig