From: Marc B. <mbe...@ar...> - 2013-01-15 11:30:56
|
Hi, I'm new to vPython but I'll be giving this a go. I've noticed that my vPython app runs much quicker on windows under the 64 python compared to 32 so I'm eager to get the mac 64 bit version to work. Thanks for the amazing bit of programming. Marc Beaumont Senior IT Support Engineer Aircraft Research Association Tel: (01234) 324683 mbe...@ar... -----Original Message----- From: Daniel Farrell [mailto:boy...@gm...] Sent: 15 January 2013 04:10 To: Steve Spicklemire Cc: vpusers users Subject: Re: [Visualpython-users] Experimental Mac Installer on vpython.org, (and linux setup.py ready for testing) Hello Steve, Fantastic news, I will try it today... Best wishes, Dan On 15 Jan 2013, at 09:26, Steve Spicklemire <st...@sp...> wrote: > Hi VPython Mac/Linux Users, > > First mac folks... > > If you're a brave soul, interested in testing the first experimental release of Visual Python for Macintosh you can get it here: > > <http://vpython.org/contents/download_mac.html> > > (See the paragraph: Experimental VPython based on the cross-platform > library wxPython. First, download and install Python-2.7.3, then > install Experimental VPython 6.01. See the documentation included with > this VPython for a change in VPython: you must include a rate > statement in animation loops.) > > Links are there for both the Python and VPython downloads. > > Here are more details, slightly modified from Bruce's Windows announcement of 12-26-2012: > > On the Macintosh download page at vpython.org is an experimental VPython based on the cross-platform library wxPython. It requires the python.org universal (32 and 64-bit version of Python 2.7, link provided). > > Like the windows version, this experimental version differs from the older VPython (5.74 and before) by eliminating nearly all platform-dependent code and by eliminating the threading associated with rendering. This makes it possible for the first time to run on 64-bit Python on the Mac and will simplify maintenance and further development of VPython. It is also likely to make possible adding standard buttons, menus, etc. to a window that contains a VPython scene. > > The new version makes one essential change to the syntax of VPython programs. Now, an animation loop MUST contain a rate statement, which limits the number of loop iterations per second as before but also when appropriate (about 30 times per second) updates the 3D scene and handles mouse and keyboard events. Without a rate statement, the scene will not be updated until and unless the loop is completed. > > The heart of the user-interface code (creating windows and handling events) is the file site-packages/visual_common/create_display.py. It is imported by visual/__init__.py and by /vis/__init__.py; the difference is that for convenience visual imports math and numpy, whereas vis doesn't. > > Please report issues to the Github repository https://github.com/BruceSherwood/vpython-wx, or to the VPython mailing list. > > You can stop reading now, unless you are an expert mac user, or a > linux user and want to really push the envelope. ;-) > > ----------------------- > > Building vpython on linux and the mac is now easier than ever! You can find the instructions in the INSTALL.txt of the source distribution from github. Basically, once you have dependencies installed, it's just "python setup.py build" and "sudo python setup.py install". For the mac you'll need Xcode.app, and source downloads of wxPython-2.9.4, boost, and so on. For linux you can use apt-get (or equivalent) to install dependencies. > > Please let us know if you choose to build it yourself and you have success, and especially if you have failure. We want to make this as foolproof as we can. > > Finally, for mac experts: if you already have numpy/polygon/ttfquery installed you should "customize" your install and uncheck those items. > > If you already have wxPython installed, make sure it's the cocoa universal version 2.9.4 and then "customize" and uncheck it as well. > > Enjoy! > -steve > > > ---------------------------------------------------------------------- > -------- Master SQL Server Development, Administration, T-SQL, SSAS, > SSIS, SSRS and more. Get SQL Server skills now (including 2012) with > LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users ---------------------------------------------------------------------------- -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ Visualpython-users mailing list Vis...@li... https://lists.sourceforge.net/lists/listinfo/visualpython-users ********************************************************************** Please consider the environment. Only print this email if absolutely necessary. This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 ********************************************************************** |