Re: [Pythonmac-SIG] How do you tell the system which version to use ?

2010-08-22 Thread Christopher Barker
Dan White wrote: I find that I have at least 3 versions of Python on my system. 2 under /System/Library/Frameworks/Python.framework/Versions (2.3 and 2.5) and one under /Library/Frameworks/Python.framework/Versions (2.7) Going from Terminal, I get 2.7 Running a script in Scribus, I get 2.3 I

Re: [Pythonmac-SIG] A script for Scribus that won't run on my Mac

2010-08-22 Thread Aahz
On Sat, Aug 21, 2010, Dan White wrote: > > def drawRulesGrid(pageSide): > """Draws rules on the page""" > lineSpace = (LINE_LAST_Y - LINE_FIRST_Y) / 30 > if pageSide == 'right': > StartLines = (R_LINE_X + (C * LINE_X_OFFSET) for C in > range(COLUMNS)) >

[Pythonmac-SIG] How do you tell the system which version to use ?

2010-08-22 Thread Dan White
I find that I have at least 3 versions of Python on my system. 2 under /System/Library/Frameworks/Python.framework/Versions (2.3 and 2.5) and one under /Library/Frameworks/Python.framework/Versions (2.7) Going from Terminal, I get 2.7 Running a script in Scribus, I get 2.3 I found info that

Re: [Pythonmac-SIG] I published a couple of improvements to py2app

2010-08-22 Thread Ronald Oussoren
On 20 Aug, 2010, at 12:44, Virgil Dupras wrote: > > I reproduced the problem and created a package reproducing it. I > thought it would be hard, but it's really easy: I have a main script > and a package 'pkg' containing submodules 'a' and 'b'. 'b' does > nothing, 'a' import 'b' with 'from . impo

[Pythonmac-SIG] py2app and related packages on bitbucket

2010-08-22 Thread Ronald Oussoren
Hi, I've converted the repositories for py2app and related packages to mercurial and posted them on bitbucket. The new home pages are: py2app: http://bitbucket.org/ronaldoussoren/py2app macholib: http://bitbucket.org/ronaldoussoren/macholib modulegraph: http://bitbucket.org/ronaldoussoren/module

Re: [Pythonmac-SIG] Python 2.6/3.1 on Mac - default arch is i386?

2010-08-22 Thread Jeff Hobbs
On 16/08/2010 2:52 PM, Kevin Walzer wrote: On 8/16/10 1:27 PM, Sridhar Ratnakumar wrote: An ideal fix to this problem, according to Hobbs, is to patch _tkinter.c to use the tcl stubs mechanism in order to support higher tcl versions during runtime (eg: 8.6). I had seen discussion of this; ha