Re: [Pythonmac-SIG] Unwanted PPC build in setuptools

2009-10-21 Thread Dave Peterson
butions, built against an "EPD" framework, into a "Python" framework? And vice-versa? If not, then this probably isn't a usable solution for us. -- Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Module build fails because distutils adds "-isysroot"

2009-09-30 Thread Dave Peterson
compiler will use the last specification on the line rather than doing something else when it gets two values. If that doesn't work, the only other thing I can think of is to temporarily edit the config/Makefile to remove / change the inclusion of the -isysroot option. HTHs, -- Dave ___

Re: [Pythonmac-SIG] py2app & multiprocessing

2009-08-12 Thread Dave Peterson
/path/to/my/AppBundle/Contents/MacOSX/myexecutable This is useful for getting stderr and stdout both. -- Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] py2app creating semi_standalone instead of standalone app

2009-08-05 Thread Dave Peterson
code in front of me, but I put something like "semi_standalone = False" in my project's keyword options to force it not to be standalone. -- Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] What py2app options keyword will add everything within a package?

2009-07-21 Thread Dave Peterson
quot;No module to 'path' (because 'python' is a namespace package?) and a bunch of other attempts. BTW: Are there some docs that clearly describe the difference between the options 'includes', 'packages', 'modules'? I can't seem to find any

[Pythonmac-SIG] Trouble getting py2app to create self-contained app bundles

2009-07-15 Thread Dave Peterson
ributed app bundle is self-contained and will continue to work even when Apple stops shipping Python 2.5. Actually, I'd ideally like to use EPD to build my app bundle then have it work even if that version of EPD isn't installed on my co-workers machines. But I'd be h

Re: [Pythonmac-SIG] Macintosh Native Python Install

2009-03-02 Thread Dave Opstad
iterally a type-as-you- > go-only interpreter? You can certainly pipe to python on Mac OS X: $ echo "print 'Hi there!'" | python Hi there! Or were you referring to something more elaborate? Dave ___ Pythonmac-SIG m

Re: [Pythonmac-SIG] Compiling Python 2.6.1 on Leopard

2008-12-22 Thread Dave Opstad
e to use Tkinter with 2.6 finally. Yay! Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] tcl/tk version confusion with tkinter in Python 2.6, on OS X

2008-10-07 Thread Dave Opstad
s, including Idle. I'd say it's > a showstopper issue. I believe there is currently a bug for this problem: http://bugs.python.org/issue4017 It looks like it's still unresolved. Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python

Re: [Pythonmac-SIG] gcc error in Mac OS X

2008-06-06 Thread Dave Everitt
This may be useful: Darwin source code releases including all developer tools versions: http://www.opensource.apple.com/darwinsource/ Dave Everitt On 6 Jun 2008, at 01:14, Christopher Barker wrote: It looks like you haven't installed the entire package. I think you need XCode3.0(for 10.

Re: [Pythonmac-SIG] Python TkAqua, Tkinter bug

2007-11-03 Thread Dave Reed
On Nov 2, 2007, at 7:49 PM, Kevin Walzer wrote: > Dave Reed wrote: > >> I'm not certain exactly what you're saying. Are you saying to >> install Active State's Python? It looks like that doesn't include a >> new Tk Aqua. Or are you saying to inst

Re: [Pythonmac-SIG] Python TkAqua, Tkinter bug

2007-11-02 Thread Dave Reed
it is clearly the wrong >> answer (it should be near 0, 0 depending on how accurate your >> click is). >> Any ideas on where the problem is, who to notify, etc.? >> Thanks, >> Dave > > Are you using the built-in Tk that comes with OS X? It's ancient &g

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-20 Thread Dave Everitt
XCode) iMac soon as I can and maybe get a final version up sometime soon on the MacPython Wiki? - Dave Everitt > In article <[EMAIL PROTECTED]>, > Dave Everitt <[EMAIL PROTECTED]> wrote: >> [SNIP] I started again and wrote an >> 'absurdly

Re: [Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Dave Everitt
at: /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site- packages/ 2. Can it be tested for with: >>> from pysqlite2 import test >>> test.test() - Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Minimal Python 2.5 and Django install

2007-09-19 Thread Dave Everitt
ts or Subversion and is intended for anyone (like me) who just wants to try out Django and complete the tutorials without doing any serious development yet. One day, an OS X installer will make this guide redundant and lower the entry barri

[Pythonmac-SIG] Macports and Django install problems

2007-09-18 Thread Dave Everitt
ggests Macports, but fails to say that the install won't be where the OS X Python expects it to be. Dave Everitt ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] p2app OpenGL (egg?) difficulties

2007-05-12 Thread Dave LeCompte
ork for non-python users. Any assistance will be appreciated. -Dave LeCompte ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Why Do I Explicitly Need MacPython

2006-09-26 Thread Dave Reed
On Sep 26, 2006, at 4:51 PM, Bob Ippolito wrote: > On 9/26/06, Dave Reed <[EMAIL PROTECTED]> wrote: >> >> On Sep 25, 2006, at 6:31 PM, Russell E Owen wrote: >> >> > At 5:26 PM -0400 2006-09-25, [EMAIL PROTECTED] wrote: >> >> I'm ve

Re: [Pythonmac-SIG] Why Do I Explicitly Need MacPython

2006-09-26 Thread Dave Reed
: first [load] of TkAqua has to occur in the main thread! Abort trap Does anyone still have a 10.3.9 system to try importing that graphics.py file and see if it works for them? Any thoughts on making it work? I have an old python 2.3.5 from fink that does import graphics.py ok and works fine for many simple programs but crashes on more complicated programs. I have not yet tried it on the 10.4.7 G5 yet. Thanks, Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] wxPython book. First example misbehaves on my Mac ?? What's happening?

2006-04-10 Thread Opstad, Dave
   frame = wx.Frame(parent=None, title="BaRe") > frame.Show() > return true > > app = App() > app.MainLoop() I think the return should be True, not true. Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] ascii <-> unicode <-> cocoa NSString

2006-02-20 Thread Opstad, Dave
Title: Re: [Pythonmac-SIG] ascii <-> unicode <-> cocoa NSString On 2/20/06 1:05 PM, "Keith Ray" <[EMAIL PROTECTED]> wrote: > Help ? You encode from Unicode, and decode to Unicode: >>> 'hi there'.decode('ascii')

Re: [Pythonmac-SIG] Best site to get Numeric and wxPython for new Tiger 10.4 install?

2006-01-11 Thread Opstad, Dave
nstalled Python? http://pythonmac.org/packages/ is what I use. Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] readline support in ActivePython 2.4.2?

2005-11-30 Thread Dave
  On 11/30/05, Chris Barker <[EMAIL PROTECTED]> wrote: Dave wrote:> I'm not done with installs.  I tried to install matplotlib from source > to get a current version.  That went equally as well (i.e., bad),> possibly for similar reasons, but that's another story.Did you

Re: [Pythonmac-SIG] readline support in ActivePython 2.4.2?

2005-11-29 Thread Dave
[Trent Mick <[EMAIL PROTECTED]> said] >[Dave wrote] >> I installed the ActivePython 2.4.2 binary on a clean 10.4 system. I >> also installed ipython 0.6.15. ipython complains there is no readline >> support. I did find a readline.so file in >> >> /Libra

[Pythonmac-SIG] readline support in ActivePython 2.4.2?

2005-11-23 Thread Dave
I installed the ActivePython 2.4.2 binary on a clean 10.4 system. I also installed ipython 0.6.15. ipython complains there is no readline support. I did find a readline.so file in /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/lib-dynload/ and ipython seems to be using the 2.4

[Pythonmac-SIG] book recommendation

2005-11-14 Thread Dave Reed
oa book that allows me to see what all the methods are for a given object. I've just started the above mentioned XCode 2 book, but it doesn't appear to have the details of all the Cocoa objects. Does anyone have a recommendation for another book I should get - I assum

[Pythonmac-SIG] New PyObjC article

2005-08-17 Thread Dave Opstad
I just noticed a new article (dated Monday) on using PyObjC has been posted at the Apple Developer site: http://developer.apple.com/cocoa/pyobjc.html Cheers! Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman

[Pythonmac-SIG] Tiger's default Python set-up

2005-07-11 Thread Dave Stokes
).   Everything I’ve subjected my poor machine to has just made it worse, so I’ve come to the conclusion that I should just chuck it and start over.  Can anyone offer any advice?  Environment variables, directory structure, et cetera.  I’d appreciate it.   Thanks, Dave Stokes

[Pythonmac-SIG] spotlight and Python files

2005-05-10 Thread Dave Reed
right direction (pointers to specific documentation are welcome). Thanks, Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Repackaging for Tiger?

2005-04-27 Thread Dave Opstad
re recent version > of Python than 2.3.0? For what it's worth, I've heard that 2.3.5 is the version of Python included with Tiger, but I haven't tried to confirm that since we'll all know the answer the day after tomorrow... Dave ___

Re: [Pythonmac-SIG] converting file paths between HFS and POSIX formats

2005-04-22 Thread Dave Opstad
to one with slashes and back; or something that converts from a slashpath into FSRefs or FSSpecs? Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Python at WWDC

2005-03-21 Thread Dave Opstad
me editing. --- Just FYI... Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] ANN: py2app 0.1.8

2005-03-18 Thread Dave Opstad
was I used a non-Unix-aware server as an intermediary for the copy, which means all the symbolic links just vanished. Arrhh. Anyway, when I did a direct Mac-to-Mac transfer, the app worked fine. Thanks for the help! Dave ___ Pythonmac-SIG ma

Re: [Pythonmac-SIG] ANN: py2app 0.1.8

2005-03-18 Thread Dave Opstad
at could work on OS X systems where neither Python nor Tcl/Tk/Tkinter were installed. If that's not the case, I'll take a different approach. Dave ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] ANN: py2app 0.1.8

2005-03-18 Thread Dave Opstad
app's Contents directory. Any ideas what could be causing it to not find the init.tcl bundled in the app? Thanks! Dave Opstad ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] py2app troubles

2005-03-07 Thread Dave Opstad
e I'm able to use the app via pythonw, is it really the case that Tcl isn't properly installed? I do have a Tcl.framework that contains an init.tcl, but there isn't one anywhere in the Python framework. Anybody have an idea how I

Re: [Pythonmac-SIG] Tkinter package?

2005-02-23 Thread Dave Opstad
n-7.7.1-Power_Macintosh.plist : HTTP Error 404: Not Found" To fix this, choose "Open URL..." from the File menu in PackageManager and specify this URL: http://www.python.org/packman/version-0.3/darwin-7.5.0- Power_Macintosh.plist PM will then open up and you can inst

Re: [Pythonmac-SIG] What are "METH_CLASS" and "METH_STATIC"?

2005-01-31 Thread Opstad, Dave
... Thanks again for the help! Dave Opstad ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] What are "METH_CLASS" and "METH_STATIC"?

2005-01-31 Thread Opstad, Dave
More generally, I'd like to know the answer to this: How do I specify changes to the gcc lines that distutils runs when it builds? Is there a way (short of modifying distutils themselves) to specify optional and/or additional arguments to these commands? Thanks for any help

[Pythonmac-SIG] Trouble getting TK to work

2005-01-29 Thread Dave Kanter
NameError: name 'Tk' is not defined It seems to me it's an improper path configuration, but for the life of me I can't figure out how to get it straight. Any help would be much appreciated. Dave. ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Read Strings from Resources

2004-12-22 Thread Opstad, Dave
On 12/22/04 1:51 AM, "Jack Jansen" <[EMAIL PROTECTED]> wrote: > On 22 Dec 2004, at 00:22, Opstad, Dave wrote: > >> According to MacTypes.r (in the last Universal Headers revision), the >> Rez format for a 'STR#' resource is as follows: >> >

RE: [Pythonmac-SIG] Read Strings from Resources

2004-12-21 Thread Opstad, Dave
= $$Countof(StringArray); array StringArray { pstring; /* String */ }; }; So it looks like a 2-byte count followed by an array of Pascal strings. Dave Opstad ___ Pythonmac-SIG maillist - [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/pythonmac-sig