Re: [Pythonmac-SIG] Building compatible dependencies

2014-07-21 Thread Russell E. Owen
In article , Ronald Oussoren wrote: > On 11 Jun 2014, at 17:58, Chris Barker wrote: > > > Hi folks, > > > > I know it'a at least theoretically possible to build libs under 10.9 that > > will work on 10.6 -- specifically compatible with the python.org python > > binaries. > > > > But I"m ha

Re: [Pythonmac-SIG] py2app issue, app crashes on 10.7.5

2013-02-27 Thread Russell E. Owen
In article <2d0381b9-3b50-4804-9b2f-741855236...@gmail.com>, David Smith wrote: > Hi Ronald, > > To recap, my recent roadblocks were with current macport versions of python > 2.7, wxpython 2.9.4, and py2app 0.7.3 on OS X 10.8. The first problem > occurred when building the standalone app wit

[Pythonmac-SIG] bdist_mpkg question: python 3 support?

2012-12-14 Thread Russell E. Owen
Does anyone know of a version of bdist_mpkg that works with Python 3? If not, how might one create a Mac binary installer for Python 3? -- Russell ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac

Re: [Pythonmac-SIG] py2app and nested packages

2012-04-25 Thread Russell E. Owen
In article <7da2de5d-dcbc-404e-83cd-0a243374e...@mac.com>, Ronald Oussoren wrote: > On 25 Apr, 2012, at 2:17, Chris Barker wrote: > > > On Tue, Apr 24, 2012 at 4:29 AM, Ronald Oussoren > >> The option "packages" currently always stores the included package outside > >> of site-packages.zip to

[Pythonmac-SIG] New unofficial binary installers

2012-04-12 Thread Russell E. Owen
I just created some unofficial binary installers for the python.org's 64-bit python 2.7.2 for Mac OS X 10.6 and later. They are available here: and include: - pyfits 3.0.7 (did not run unit tests; I can't seem to find them) - PIL 1.1.7 (includ

Re: [Pythonmac-SIG] Fwd: distutils and stdarg.h

2012-02-14 Thread Russell E. Owen
In article , Ned Deily wrote: >... > You *may* have run into a bug I've noticed a while back in Xcode 3.2.6. > The Xcode installer appears to screw up the symlinks to /Library within > /Developer/SDKs. The net effect is that frameworks installed in > /Library, like A/S Tcl and Tk, are not f

Re: [Pythonmac-SIG] Fwd: distutils and stdarg.h

2012-02-13 Thread Russell E. Owen
In article , Ned Deily wrote: > In article , > "Russell E. Owen" wrote: > > I suggest you try one of these things: > > - Use gcc 4.0.1 to build extensions for 32-bit python.org python. That's > > what I'm still doing. It requires XCode 3.

Re: [Pythonmac-SIG] Fwd: distutils and stdarg.h

2012-02-09 Thread Russell E. Owen
In article , Chris Barker wrote: > darn, forgot to send to the list again -- I hate these defaults! > > > > -- Forwarded message -- > From: Chris Barker > Date: Thu, Feb 9, 2012 at 9:58 AM > Subject: Re: [Pythonmac-SIG] distutils and stdarg.h > To: Ronald Oussoren > > > O

[Pythonmac-SIG] Trouble building against Tkinter on 64-bit python.org python

2011-10-12 Thread Russell E. Owen
I'm on MacOS X 10.6.8 using 64-bit Python 2.7.2 from python.org (the 10.6 version) and ActiveState Tcl/Tk 8.5.10. I would like to build matplotlib 1.1.0 (in fact I'd like to build an official binary installer) and am running into problems. The build and install goes fine, though with a few odd

Re: [Pythonmac-SIG] using py2app with scipy (Russell E. Owen)

2011-08-12 Thread Russell E. Owen
In article , Michael Schmidt wrote: > Thanks for the quick response. Unfortunately I can't get this to work, now > for other reasons. I've attached the updated setup.py file and my simple > test program (test_app.py) to this email. > > The problem seems to lie with pytz: > > ] python setup.

Re: [Pythonmac-SIG] using py2app with scipy

2011-08-11 Thread Russell E. Owen
In article , Michael Schmidt wrote: > Hi Everyone, > > I'm trying to create a stand-alone app for some scientific analysis code > using py2app, and I'm running into problems when I try to include scipy in > my application (same goes for matplotlib). As you can guess, this is a > necessary pre

Re: [Pythonmac-SIG] Python for Tiger PPC I found your wonderful page at that has numpy and PIL for Tiger, which I can't find anywhere else, but I'm

2011-07-25 Thread Russell E. Owen
In article <4e2da3f4.9050...@noaa.gov>, Christopher Barker wrote: > Jim Syler wrote: > > I found a wonderful page > > at that has numpy > > and PIL for Tiger, which I can't find anywhere else, > > As you've notices, that repository hasn't be

Re: [Pythonmac-SIG] Lion

2011-07-22 Thread Russell E. Owen
In article , Ronald Oussoren wrote: > On 22 Jul, 2011, at 6:10, Aahz wrote: > > > On Thu, Jul 21, 2011, Ned Deily wrote: > >> > >> Although it's not practical to build packages with C extension modules > >> on 10.7 for the traditional 32-bit-only python.org Pythons (as explained > >> above),

Re: [Pythonmac-SIG] py2app application fails with ImportError: No module named sysconfig

2011-07-21 Thread Russell E. Owen
In article <53a3bd48-5252-4160-8057-719960229...@mac.com>, Ronald Oussoren wrote: > On 21 Jul, 2011, at 0:31, Russell E. Owen wrote: > > > I used py2app to build an application that i've been building for years, > > only now it's failing at startup with the

Re: [Pythonmac-SIG] py2app under Lion--any issues?

2011-07-21 Thread Russell E. Owen
In article <20110721001520.gb12...@panix.com>, Aahz wrote: > On Wed, Jul 20, 2011, Russell E. Owen wrote: > > > > Will py2app to work to build Mac application bundles under Lion (MacOS X > > 10.7)? > > > > I'm using python.org 32-bit python and

Re: [Pythonmac-SIG] Lion

2011-07-21 Thread Russell E. Owen
In article , Ronald Oussoren wrote: > On 21 Jul, 2011, at 2:27, Ned Deily wrote: > > > In article , > > Dan Ross wrote: > > > >> Installing python.org's framework should work shouldn't it? > > > > The 64-bit/32-bin python.org installers (current releases are 3.2.1 and > > 2.7.2) *should* wo

Re: [Pythonmac-SIG] py2app application fails with ImportError: No module named sysconfig

2011-07-21 Thread Russell E. Owen
In article , Ned Deily wrote: > In article , > "Russell E. Owen" wrote: > > > In article , > > "Russell E. Owen" wrote: > > > > > I used py2app to build an application that i've been building for years, > > > on

Re: [Pythonmac-SIG] py2app application fails with ImportError: No module named sysconfig

2011-07-20 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > I used py2app to build an application that i've been building for years, > only now it's failing at startup with the appended log. > > The problem is triggered by numpy 1.6.1fc3 (which I installed from > source). If I

[Pythonmac-SIG] py2app application fails with ImportError: No module named sysconfig

2011-07-20 Thread Russell E. Owen
I used py2app to build an application that i've been building for years, only now it's failing at startup with the appended log. The problem is triggered by numpy 1.6.1fc3 (which I installed from source). If I build using an older numpy I don't see the problem. However, the application runs jus

[Pythonmac-SIG] py2app under Lion--any issues?

2011-07-20 Thread Russell E. Owen
Will py2app to work to build Mac application bundles under Lion (MacOS X 10.7)? I'm using python.org 32-bit python and ActiveState Tcl/Tk 8.4.19 and trying to build self-contained Python/Tk apps that run on at least MacOS X 10.5 and later. I assume there's no problems, but it would be very hel

Re: [Pythonmac-SIG] no app found

2011-05-11 Thread Russell E. Owen
In article , Carl Aksynczak wrote: > Hi everyone, > > I'm trying to create an executable on Mac OSX 10.6. > > The program compile with setup.py and the egg is created in "/dist" folder, > with no error listed. > After a search on all files, no app are found. > > The project : http://github.co

Re: [Pythonmac-SIG] why does the Mac installer hack the user's .bash_profile?

2011-04-07 Thread Russell E. Owen
In article <64461.1302209...@parc.com>, Bill Janssen wrote: > I've got a Snow Leopard buildslave I'm trying to debug. So I thought > I'd try Python 2.7 on it. Normally, I advise people to never try to > install a different Python on a Mac, as it's too embedded in the OS to > do safely, without

Re: [Pythonmac-SIG] Problem with py2app 0.6

2011-04-04 Thread Russell E. Owen
In article , Russell Owen wrote: > > On 29 Mar, 2011, at 22:02, Russell E. Owen wrote: > > > >> I used easy_install to install py2app 0.6 and tried it out on one of > >> several applications I distribute. Unfortunately the build failed with; > > > >

[Pythonmac-SIG] Problem with py2app 0.6

2011-03-29 Thread Russell E. Owen
I used easy_install to install py2app 0.6 and tried it out on one of several applications I distribute. Unfortunately the build failed with; *** using recipe: virtualenv *** *** using recipe: PIL *** *** using recipe: matplotlib *** *** using recipe: pydoc *** *** using recipe: scipy *** *** usin

[Pythonmac-SIG] Anyone tried to build python or extensions with XCode 4.0?

2011-03-18 Thread Russell E. Owen
Has anyone tried to build python or extensions with XCode 4.0? If so, do you have any hints, such as: - Which C compilers to use or avoid - How to make the results backward-compatible with 10.5 and possibly even 10.4 -- Russell ___ Pythonmac-SIG mailli

Re: [Pythonmac-SIG] Python development on OSX

2011-01-20 Thread Russell E. Owen
In article <69949.1295543...@parc.com>, Bill Janssen wrote: > Christopher Barker wrote: > > > > and certainly the majority of those who need any help. > > > > I think that's key -- Bill's approach is fine one for some users, but > > not what I"d recommend to newbies that aren't sure how to se

[Pythonmac-SIG] bdist_mpkg permissions bug

2010-11-12 Thread Russell E. Owen
bdist_mpkg 0.4.4 has a nasty habit of making data files unreadable by anyone except the file owner (the umask ends in 00). For example when using bdist_mkpg to make an installer for matplotlib for all files in mpl-data end up with this issue. There is a workaround: let bdist_mpkg run to complet

Re: [Pythonmac-SIG] Amateur question about modules

2010-11-05 Thread Russell E. Owen
In article <4cd2e712.9080...@noaa.gov>, Christopher Barker wrote: > On 11/3/10 3:30 PM, Kevin Walzer wrote: > >> So, how can I correctly import this module? > >> And where should I put it, so Python can find it. > > > TkSnack is a Tkinter wrapper for the Snack sound library. You'll need to > >

Re: [Pythonmac-SIG] Amateur question about modules

2010-11-04 Thread Russell E. Owen
In article <4cd1e274.9000...@codebykevin.com>, Kevin Walzer wrote: > On 11/3/10 4:32 PM, Pedro Gazzola wrote: > > "ImportError: No module named tkSnack" > > > > I tried to run one script on the Python Launcher and got this import error. > > > > So, how can I correctly import this module? > > And

[Pythonmac-SIG] New binary installers for Python 2.7 packages (retry)

2010-10-19 Thread Russell E. Owen
I have build several binary installers for the python.org 32-bit Python 2.7 (compatible with 10.3.9 and later): numpy 1.5.0 (see note 1) matplotlib 1.0.0 (but wx support is iffy; see note 2) PIL 1.1.7 pygame 1.9.1 They are available here: Pl

[Pythonmac-SIG] New binary installers for numpy, PIL and matplotlib for 32-bit python 2.7

2010-10-19 Thread Russell E. Owen
I have build three binary installers for the python.org 32-bit Python 2.7 (compatible with 10.3.9 and later): numpy 1.5.0 (see note 1) matplotlib 1.0.0 (see note 2) PIL 1.1.7 They are available here: Please test them and let me know if they

[Pythonmac-SIG] Advice on building binary installers for Python 2.7?

2010-10-15 Thread Russell E. Owen
I'd like to build binary installers for PIL and matplotlib for python.org Mac Python 2.7 but I confess I'm not sure how to go about it. As I understand it there are two flavors of Mac Python 2.7: a 32-bit build that is compatible with Mac OS X 10.3.9 and later and a 64-bit build that requires M

Re: [Pythonmac-SIG] Problem bundling matplotlib with py2app: it looks for a font in /Library/Frameworks

2010-10-08 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > I have a Mac python application I bundle with py2app. It has > successfully included matplotlib for several years. However recently I > added strip charts to it and now I find that the Mac bundle is broken: > when I run on a sys

Re: [Pythonmac-SIG] Sending stdout/err to a text console in a py2app App

2010-10-08 Thread Russell E. Owen
In article , Gregory Jefferis wrote: > Hello, > > I've made a simple python script to wrap a complex, long running shell > script using easygui. Then I've used py2app to make a Mac Application. I'm > happy except I would really like stdout/stderr from both my python wrapper > script and the o

[Pythonmac-SIG] Problem bundling matplotlib with py2app: it looks for a font in /Library/Frameworks

2010-10-08 Thread Russell E. Owen
I have a Mac python application I bundle with py2app. It has successfully included matplotlib for several years. However recently I added strip charts to it and now I find that the Mac bundle is broken: when I run on a system that does not have matplotlib installed it dies with a traceback that

[Pythonmac-SIG] New binary installers for matplotlib and PIL for python 2.6

2010-10-06 Thread Russell E. Owen
I built new binary installers for PIL 1.1.7 and matplotlib 1.0.0 for Mac Python 2.6 (from python.org). They are available here for now (though I hope to get them into the standard distributions): I built these on Mac OS X 10.4 and have brief

Re: [Pythonmac-SIG] bdist_mpkg issues

2010-09-16 Thread Russell E. Owen
In article , Ned Deily wrote: > In article , > "Russell E. Owen" wrote: > > I'm having some surprising issues with bdist_mpkg and I wondered if > > anyone had advice. > > > > Problem building a PIL 1.1.7 binary installer for Mac OS X 10.3.9 an

Re: [Pythonmac-SIG] bdist_mpkg issues

2010-09-14 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > I'm having some surprising issues with bdist_mpkg and I wondered if > anyone had advice. > >... > Problem building a matplotlib 1.0.0 installer for Mac OS X 10.3.9 and > later: >... > * The Python 2.6 version

[Pythonmac-SIG] bdist_mpkg issues

2010-09-14 Thread Russell E. Owen
I'm having some surprising issues with bdist_mpkg and I wondered if anyone had advice. Problem building a PIL 1.1.7 binary installer for Mac OS X 10.3.9 and later: * The PIL binary for Python 2.6 does not work on 10.3.9 or 10.4: the _imaging C library cannot be loaded. * The Python 2.5 PIL does

Re: [Pythonmac-SIG] Which version to install?

2010-08-30 Thread Russell E. Owen
In article , Monte Milanuk wrote: > Hello all, > > Now that I have things more or less back to the original for 10.6 on my > Macbook, I'd like to install a slightly more up-to-date version for > learning to develop with. Some of the things I'm interested in working > with include wxpython/d

Re: [Pythonmac-SIG] ANN: py2app 0.5

2010-08-02 Thread Russell E. Owen
In article <2e51fd64-bd00-4bd6-bca8-89e48a672...@mac.com>, Ronald Oussoren wrote: > Hi, > > I've just uploaded py2app 0.5 and new versions of altgraph, modulegraph and > macholib. I hope this solves most issues with py2app. "easy_install-X.Y -U > py2app" should install the software for you

Re: [Pythonmac-SIG] py2app and python versions

2010-07-27 Thread Russell E. Owen
I'm flexible: I'll use what py2app requires. I hope most other developers are in the same situation. Python 2.6 sounds like an excellent choice to me. There are binary installers for most common 3rd party packages, so it's easy to adopt (unlike Python 2.7). -- Russell In article <4deadfb9-6aa

Re: [Pythonmac-SIG] py2app not happy with zope.interface

2010-07-22 Thread Russell E. Owen
In article <793a2d4f-e7f2-4285-9d8e-6c7588251...@mac.com>, Ronald Oussoren wrote: > On 21 Jul, 2010, at 22:24, Russell E. Owen wrote: > > > A py2app-built application stopped building properly recently after > > various upgrades. It would fail immediately on startup

[Pythonmac-SIG] py2app not happy with zope.interface

2010-07-21 Thread Russell E. Owen
A py2app-built application stopped building properly recently after various upgrades. It would fail immediately on startup complaining that it could not find zope.interface. The app uses Twisted, which is why it needs zope.interface. I tried adding "zope" or "zope.interface" to "packages", but

Re: [Pythonmac-SIG] Future 64-bit installers

2010-07-20 Thread Russell E. Owen
In article <44f47665-6748-41bf-a4e3-64ae5d88d...@mac.com>, Ronald Oussoren wrote: > Hi, > > We had a short discussion on the 2.7-macosx10.5 installer for python 2.7 at > the europython language summit due to the unfortunate problems with IDLE and > Tkinter in that installer: tkinter doesn't w

[Pythonmac-SIG] py2app problem: invalid matplotlib recipe

2010-07-12 Thread Russell E. Owen
py2app 0.4.3's matplotlib recipe includes: mf.import_hook('pytz.zoneinfo', m, ['UTC']) This has two incompatibilities with the current version of pytz: - zoneinfo is a data directory but not a package (no __init__.py) - UTC is not a python file (it is called UTC, not UTC.py) Removing the lin

Re: [Pythonmac-SIG] py2app applet: cannot drag files onto dock icon

2010-06-18 Thread Russell E. Owen
sult (which was com.apple.application-bundle) to the list of LSItemContentTypes That worked. -- Russell In article , "Russell E. Owen" wrote: > I am making a Mac drag-and-drop applet using py2app. > > The resulting application runs, and I can drag files onto the > ap

[Pythonmac-SIG] py2app applet: cannot drag files onto dock icon

2010-06-18 Thread Russell E. Owen
I am making a Mac drag-and-drop applet using py2app. The resulting application runs, and I can drag files onto the application's icon in Finder, but I cannot drag files onto the application's icon in the Dock. The application processes plain text files. The property list is as follows (I reluc

Re: [Pythonmac-SIG] py2app and pygame results in application that may not launch

2009-12-04 Thread Russell E. Owen
In article <4b147584.2050...@codebykevin.com>, Kevin Walzer wrote: > On 11/30/09 3:21 PM, Russell E. Owen wrote: > > > > > The solution was to upgrade to the latest py2app and associated software. > > > > Russell, > > Is this a 32-bit or 64-bit app

Re: [Pythonmac-SIG] py2app and pygame results in application that may not launch

2009-11-30 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > I am using py2app to bundle a standalone application (containing its own > python) that used to use tkSnack to play sound cues. I recently switched > to pygame because the sound cues were no longer paying reliably with > tkSnack.

[Pythonmac-SIG] py2app and pygame results in application that may not launch

2009-11-25 Thread Russell E. Owen
I am using py2app to bundle a standalone application (containing its own python) that used to use tkSnack to play sound cues. I recently switched to pygame because the sound cues were no longer paying reliably with tkSnack. Before switching to pygame the Mac applications I produced seemed to ru

Re: [Pythonmac-SIG] py2app on Snow Leopard?

2009-09-02 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > Has anyone tried py2app on Snow Leopard, and if so, how well does it > work? > > I'm trying to release programs that are compatible at with 10.4, 10.5 > and 10.6, and don't want to upgrade my own OS from 10.5 pre

[Pythonmac-SIG] py2app on Snow Leopard?

2009-09-01 Thread Russell E. Owen
Has anyone tried py2app on Snow Leopard, and if so, how well does it work? I'm trying to release programs that are compatible at with 10.4, 10.5 and 10.6, and don't want to upgrade my own OS from 10.5 prematurely. I'm willing to do some experiments and report back, but I'd rather learn what I

Re: [Pythonmac-SIG] Chinese glyphs in Python 3

2009-05-27 Thread Russell E. Owen
In article <200905271228.n4rcscei021...@penicillin.media.mit.edu>, Ronald Oussoren wrote: > I've found the source of this bug: Tcl/Tk's rendering of Unicode data > is broken on OSX. Luckily this is fixed on Tcl/Tk 8.5, but that > doesn't help you very much because the Python installers all l

Re: [Pythonmac-SIG] How to remove Python from my Mac?

2009-04-24 Thread Russell E. Owen
In article <91f48dbf0904241533k3722b56au56bb7726eed30...@mail.gmail.com>, Ethan Herdrick wrote: > Hi - I'm getting started with Python and am getting ImportError > trouble with the first step of the very simple tutorial for web.py. > I'm suspecting that the fact that I have two installations of

[Pythonmac-SIG] Patch for bdist_mpkg

2009-04-21 Thread Russell E. Owen
bdist_mpkg failed for me on 10.5.6 when I tried to build a binary for numarray 1.3.0/Python 2.6 as follows: "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-pac kages/bdist_mpkg/tools.py", line 106, in admin_writable gid = get_gid('admin') File "/Library/Frameworks/Pyth

Re: [Pythonmac-SIG] Uninstalling Python 2.6?

2009-03-10 Thread Russell E. Owen
In article , Idan Gazit wrote: > Hi Folks, > > So a while back I tried installing (mac) python 2.6 on my leopard > machine, mainly to poke around. > > Today I'm trying out some xcode/pyobjc stuff and I've been tearing my > hair out wondering why nothing works as advertised. Turns out that

Re: [Pythonmac-SIG] MacPython sprint at PyCon'09?

2009-02-05 Thread Russell E. Owen
In article , Ronald Oussoren wrote: > Hi, > > I'm going to Pycon this year and I'm wondering if anyone is interested > in doing a MacPython related sprint afterwards. Possible topics: > > * Investigate OSX-integration issues (such as the "rocket icon" that > sometimes appears) > > * Get P

Re: [Pythonmac-SIG] MacPython and Gnuplot

2009-01-29 Thread Russell E. Owen
In article <1dcb3f200901290529y76674160ya3f21bb180b43...@mail.gmail.com>, Matt Foster wrote: > On Tue, Jan 27, 2009 at 5:33 AM, raf . wrote: > > I have MacPython 2.5 on my iMac. I also have Gnuplot.app Version 4,2. > > How do I get them to work together? > > > > Can someone show a simple exam

Re: [Pythonmac-SIG] appscript install error

2009-01-29 Thread Russell E. Owen
In article <84bdef3c0901281801n711713fagc12ecd27426bd...@mail.gmail.com>, Rajanikanth Jammalamadaka wrote: > hi! > > I get this error when trying to install appscript from source on Mac > OS X(using python 2.6.1): > > ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libPng.dylib, > file i

Re: [Pythonmac-SIG] Warning: The process has forked and you cannot use this CoreFoundation functionality safely.

2009-01-14 Thread Russell E. Owen
A good question, and in the process of answering it I found that problem is caused by running a "Tiger" version of SAOImage DS9 on "Leopard". These can be downloaded from: Python version is 2.5.2 (the version from python.org). I'm no an Intel Mac running 10.5

[Pythonmac-SIG] Warning: The process has forked and you cannot use this CoreFoundation functionality safely.

2009-01-09 Thread Russell E. Owen
I maintain a RO.DS9, a cross-platform Python module that controls ds9 (a.k.a. SAOImage DS9), an astronomical image viewer. The module starts by launching ds9 with a window of a known name (this is required to further command it), and that's where I run into trouble on MacOS X. On unix and Wind

Re: [Pythonmac-SIG] Bus error with Python 2.5.4

2009-01-05 Thread Russell E. Owen
In article , "Russell E. Owen" wrote: > I'm seeing a bus error on MacOS X 10.5.6 when using Python 2.5.4 to > display images via PIL and Tkinter. Before I try to track down the > details I'm wondering if anyone else has already seen and diagnosed it. I should ad

[Pythonmac-SIG] Bus error with Python 2.5.4

2009-01-05 Thread Russell E. Owen
I'm seeing a bus error on MacOS X 10.5.6 when using Python 2.5.4 to display images via PIL and Tkinter. Before I try to track down the details I'm wondering if anyone else has already seen and diagnosed it. -- Russell ___ Pythonmac-SIG maillist - Py

Re: [Pythonmac-SIG] BBEdit 9

2008-09-12 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Michael Crawford" <[EMAIL PROTECTED]> wrote: > On Thu, Sep 11, 2008 at 3:11 PM, Russell E. Owen <[EMAIL PROTECTED]> > wrote: > > BBEdit 9.0 is out and it is a significant update. > ... > > Of course there are man

[Pythonmac-SIG] BBEdit 9

2008-09-11 Thread Russell E. Owen
BBEdit 9.0 is out and it is a significant update. At risk of sounding like an advertisement, changes that I particularly appreciate are: - The Find/Replace is finally modal (though there is a preference to make it modal if you prefer). It has a cleaner design and the checkboxes all work independ

Re: [Pythonmac-SIG] Please help! py2app broken: solved

2008-09-11 Thread Russell E. Owen
advice. I'm relieved to be able to stick with svn 1.5, since I make heavy use of svn. -- Russell In article <[EMAIL PROTECTED]>, Christopher Barker <[EMAIL PROTECTED]> wrote: > Russell E. Owen wrote: > > I was able to run py2app fine until recently. I think the only thi

[Pythonmac-SIG] modulegraph bug

2008-09-11 Thread Russell E. Owen
modulegraph 0.7.2.dev_r21-py2.5 has the following bug (which may be in other versions as well) which causes this error: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac kages/py2app-0.4.2-py2.5.egg/py2app/build_app.py", line 579,

[Pythonmac-SIG] Please help! py2app broken

2008-09-10 Thread Russell E. Owen
I was able to run py2app fine until recently. I think the only thing I did was upgrade to svn 1.5.1. Now I see this: Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-pac kages/py2app-0.3.6-py2.5.egg/py2app/build_app.py", line 548, in

[Pythonmac-SIG] Getting py2app to work with svn 1.5.1?

2008-08-20 Thread Russell E. Owen
I just realized I can no longer build my Python application using py2app since upgrading to svn 1.5.1. The application uses Tkinter, matplotlib and Image (PIL). I am on MacOS X 10.4.11 using Python 2.5.2 from python.org and ActiveState Tcl/Tk 8.4.19. The first symptom were well-known problems "

[Pythonmac-SIG] Build Tkinter against custom tcl/tk?

2008-08-15 Thread Russell E. Owen
I'm trying to build a non-framework python on MacOS X 10.5 using a custom tcl/tk that lives in an arbitrary directory. (For complicated reasons we don't want the system tcl/tk). It is easy to build an X11 tcl/tk this way (and we are content with X11) so I did that. Unfortunately I can't seem to

Re: [Pythonmac-SIG] using py2app to include the python interpreter?

2008-08-01 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Patrick Li" <[EMAIL PROTECTED]> wrote: > Hi, > > I just used py2app to bundle my app on Leopard. It works fine on my > computer. However, when I let my friend run the app on his machine that is > running Tiger, it returned an error regarding the python runtime

Re: [Pythonmac-SIG] Editors (was Mac IDLE Fonts?...)

2008-07-17 Thread Russell E Owen
At 4:32 PM -0700 2008-07-17, Christopher Barker wrote: Russell E. Owen wrote: Another option is to use a normal text editor* You lose some interactivity but the powerful editing features may compensate by increasing productivity in other ways. ... I'm still looking for a modern replac

Re: [Pythonmac-SIG] Mac IDLE Fonts? (-or- I guess I need glasses.)

2008-07-17 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Russell E. Owen" <[EMAIL PROTECTED]> wrote: > In article > <[EMAIL PROTECTED]>, > Nate <[EMAIL PROTECTED]> wrote: > > > I've been trying to increase the font size inside IDLE. The documentation > >

Re: [Pythonmac-SIG] Mac IDLE Fonts? (-or- I guess I need glasses.)

2008-07-17 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Nate <[EMAIL PROTECTED]> wrote: > I've been trying to increase the font size inside IDLE. The documentation > refers to an "Options menu" that seems to be eluding me in the Mac flavor of > IDLE. Could someone please help me? When I run IDLE it has Preferences...

Re: [Pythonmac-SIG] MacPython & Leopard: Which 'site-packages' folder to use?

2008-06-26 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Rob Gabaree" <[EMAIL PROTECTED]> wrote: > Hello, > > With Leopard's built-in Python, user-installed modules are placed in > /Library/Python/2.5/site-packages/. > > If I'm using MacPython, should I avoid putting anything into this > directory and use > /Library/

Re: [Pythonmac-SIG] Python module installation on Leopard runs but doesn't install

2008-02-27 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Christopher Barker <[EMAIL PROTECTED]> wrote: > Robert Anderson wrote: > > I am running a factory installation of Leopard and command line Python > > appears to run OK. However, when I attempted to install a downloaded > > package, PYTZ for example, > > where

Re: [Pythonmac-SIG] Creating binary packages on OSX

2008-02-22 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Matthias Baas <[EMAIL PROTECTED]> wrote: > Hi, > > I have a question about distributing binary package on OSX (I'm still > rather new to OSX but now that I have a Mac I'd like to provide an OSX > binary of an Open Source package of mine). > I was using the bdist

Re: [Pythonmac-SIG] Using py2app on 10.5 to build apps that run on 10.4?

2008-02-22 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Kevin Walzer <[EMAIL PROTECTED]> wrote: > Russell E. Owen wrote: > > I'd love to upgrade to Leopard, but I maintain a python application that > > needs to run on 10.4 (and preferably 10.3.9). > > > > So...is it now pra

[Pythonmac-SIG] Using py2app on 10.5 to build apps that run on 10.4?

2008-02-06 Thread Russell E. Owen
I'd love to upgrade to Leopard, but I maintain a python application that needs to run on 10.4 (and preferably 10.3.9). So...is it now practical to build 10.4-compatible applications using py2app on a 10.5 computer? What is involved? (For instance I remember reading that the built-in python need

Re: [Pythonmac-SIG] Tk 8.5 and leopard.

2007-12-26 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Nicholas Cole" <[EMAIL PROTECTED]> wrote: > I've just seen that a new version of Tk has been released, and the > screenshots suggest that it will blend in much better on the mac platoform. > What is going to be the best way of installing the new Tk and a version

Re: [Pythonmac-SIG] Any hints on building libpng universal?

2007-11-27 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Christopher Barker <[EMAIL PROTECTED]> wrote: > David Warde-Farley wrote: > >> are you building a new MPL for pythonmac? The one there *should* be > >> build with a static universal libpng already. > > > > Alas, it is not. The python2.5 one looks for libpng in /u

Re: [Pythonmac-SIG] Any hints on building libpng universal?

2007-11-26 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, David Warde-Farley <[EMAIL PROTECTED]> wrote: > Hi again, > > I'm trying to build a universal libpng package at the moment for use > with matplotlib from pythonmac.org/packages. There's an older version > up on undefined.org that's referred to in some mailing

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

2007-11-06 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > I am not certain where the problem is or who to report it to, but > there is a bug in TkAqua, Tkinter, or possibly OS X's windowing > system. I am using a simple module on top of Tkinter for teaching an > intro programming course. W

Re: [Pythonmac-SIG] py2app warning: may need to include email.Util

2007-08-06 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Benjamin Schollnick <[EMAIL PROTECTED]> wrote: > Sorry for jumping in so late > > >>> My py2app-bundled Mac application recently started failing with "no > >>> module named email.Util" when trying to display images. It turns out > >>> pyfits uses urllib which

Re: [Pythonmac-SIG] PIL 1.1.6 for OS X

2007-05-18 Thread Russell E. Owen
I built a binary installer for PIL 1.1.6 and submitted it to Bob Ippolito for pythonmac.org. If Bob has time it should show up in a day or two. -- Russell ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/

Re: [Pythonmac-SIG] py2app warning: may need to include email.Util

2007-01-16 Thread Russell E Owen
At 3:01 PM -0800 1/16/07, Russell E Owen wrote: >The following recipe seems to work, but I don't know if it's really >the right way to go. It is based on extrapolating from the current >recipes. None of them seem to do the same job and I've not found any >docs on wr

Re: [Pythonmac-SIG] py2app warning: may need to include email.Util

2007-01-16 Thread Russell E Owen
At 10:35 PM +0100 1/16/07, Ronald Oussoren wrote: >On 16 Jan, 2007, at 22:20, Russell E Owen wrote: > >>My py2app-bundled Mac application recently started failing with "no >>module named email.Util" when trying to display images. It turns out >>pyfits uses u

[Pythonmac-SIG] py2app warning: may need to include email.Util

2007-01-16 Thread Russell E Owen
My py2app-bundled Mac application recently started failing with "no module named email.Util" when trying to display images. It turns out pyfits uses urllib which uses email.Util, which apparently has been renamed email.util with some kind of clever lazy import code so one can still use email.Ut

Re: [Pythonmac-SIG] Compiling Scipy/available binaries for Universal Python 2.4?

2007-01-12 Thread Russell E Owen
In article <[EMAIL PROTECTED]>, Christopher Barker <[EMAIL PROTECTED]> wrote: > > By the way, my idea of a working system is: > > python 2.5 (I'm still on 2.4, but if someone is putting effort in, they > might as well do the latest) > > latest numpy > latest matplotlib > latest wxPython F

Re: [Pythonmac-SIG] gmpy universal build (static)?

2007-01-10 Thread Russell E Owen
In article <[EMAIL PROTECTED]>, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > What I'd like to see is a collection of binary packages that are > created from a set of recipies (somewhat like what DarwinPorts does, > but without sucking in a second installation of unix). That way it > should

Re: [Pythonmac-SIG] cyptes problem on MacOS X

2006-12-11 Thread Russell E Owen
At 2:39 PM -0600 2006-12-11, Perry Smith wrote: >I don't use floats and double much. But the printf man page implies that all >floats are actually passed as doubles. I vaguely recall that to be the case. > >But I doubt if the python thingy knows that. Try not passing >floats. You might >also h

[Pythonmac-SIG] cyptes problem on MacOS X

2006-12-11 Thread Russell E. Owen
I've been trying out ctypes (from MacPython 2.5) on MacOS X on a PPC Mac and have run into a problem. I hope I'm just doing something stupid, but it seems to match the tutorial so I'm really puzzled: import ctypes libc = ctypes.CDLL("libc.dylib") libc.printf("int=%d float=%f double=%f\n", ctypes

Re: [Pythonmac-SIG] pythonmac packages question

2006-12-07 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, belinda thom <[EMAIL PROTECTED]> wrote: > Hi, > > As of my prior post, I was able to get into pythonmac.org. > > There I found many of the packages it seems I'll need. I was able to > install Numeric and WxPython (I chose the later dmg, v 2.7.1.3) and > matpl

Re: [Pythonmac-SIG] bdist_mpkg question: getting pytz included with matplotlib

2006-11-14 Thread Russell E Owen
At 11:20 AM -0800 2006-11-14, Christopher Barker wrote: >Russell E. Owen wrote: >>Sorry to follow up my own posting, but I found one way to do it: >> >>modify matplotlib's setup.py file to always install dateutil and >>pytz. It turns out normally only installs them

Re: [Pythonmac-SIG] bdist_mpkg question: getting pytz included with matplotlib

2006-11-13 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, "Russell E. Owen" <[EMAIL PROTECTED]> wrote: > I've been trying to build a proper matplotlib Mac binary with bdist_mpkg > (from the command line) and thought I finally had it until I realized > it was missing pytz. A

[Pythonmac-SIG] bdist_mpkg question: getting pytz included with matplotlib

2006-11-13 Thread Russell E. Owen
I've been trying to build a proper matplotlib Mac binary with bdist_mpkg (from the command line) and thought I finally had it until I realized it was missing pytz. Any hints on how to get this included? FYI: in the resulting package there is a directory matplotlib-0.87.7-py2.5.egg-info In the f

Re: [Pythonmac-SIG] IDLE and MacPython 2.5

2006-11-01 Thread Russell E. Owen
(In reference to the discussion of TextMate). I'm also not hooked on TextMate. Yet. My main objection is that undo is one-character-at-a-time, which I find utterly maddening for extensive undo. I also find it a bit cluttered and clumsy in some ways, but would be willing to overlook that to get

Re: [Pythonmac-SIG] Another tcl/tk problem with python--PIL this time

2006-10-31 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Ronald Oussoren <[EMAIL PROTECTED]> wrote: > On Oct 30, 2006, at 11:37 PM, Russell E. Owen wrote: > > > > > This is another plea for the _tkinter.so that comes with the standard > > macpython to be set up to look for a Tcl

[Pythonmac-SIG] Another tcl/tk problem with python--PIL this time

2006-10-30 Thread Russell E. Owen
You'll recall that I reported crashes with the macpython.org matplotlib package. This turned out to be because I was using my own Tcl/Tk (a good version instead of the version installed with 10.4). It turns out PIL has a similar but more subtle problem. It works for me, but if I use py2app to b

  1   2   >