Re: Visual Python, OS X source build, Homebrew dependencies

Guilherme Brondani Torri <[email protected]> Mon, 13 Aug 2012 22:05:07 +0200
Newsgroups gmane.comp.python.visualpython.user
Message-ID <[email protected]>
On 13/08/12 21:04, Bruce Sherwood wrote:
> Many thanks for this! Are you able to build for 64-bit Python?

My Python was built as universal (32 and 64-bit), however the 
cvisualmodule.so ended as 64-bit. See below:

$ file /usr/local/lib/python2.7/site-packages/vis/cvisualmodule.so
/usr/local/lib/python2.7/site-packages/vis/cvisualmodule.so: Mach-O 
64-bit bundle x86_64

In necessary, with some compiler flags tweaking perhaps VPython can be 
also build as fat universal.

> For Mac users who may not be familiar with the X11 window system, it
> should be explained that this procedure produces a Unix/Linux-like
> version of VPython, not a "native-mode" version. I'm hoping to produce
> a native-mode version based on Cocoa, using wxPython, which would be
> usable with 64-bit Python.

Yes, it should be made clear the build yields a X11 interface.

I currently do my small GUIs with Qt/PyQt. It should not be that far 
away from wxPython. Once you get the wxPython running I try to have a 
look on how to have it on PyQt. It would be nice if we could embed 
VPython into other applications.

Are you going to provide this "native-mode" as the default or as optional?

Best,
Guilherme




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/