Re: [Pythonmac-SIG] Building Numeric Python on Panther

2004-12-03 Thread Chris Barker
Bob Ippolito wrote: (Bonus question: the Numeric Python documentation makes it clear that numarray should be used, but not how. Is numarray a substitute for all of Numeric? If not, should numarray be installed before NumPy?) I think what they mean is that new applications should use numarray. I

Re: [Pythonmac-SIG] py2app standalone options

2004-12-16 Thread Chris Barker
Bob Ippolito wrote: Rare enough that I can't justify writing the code and adding yet another option. That, of course, is your judgment. However, I'm not sure it's a rare as you think. I, for one, want to be able to distribute apps to folks whose environment I have control over, so I know that th

Re: [Pythonmac-SIG] py2app standalone options

2004-12-17 Thread Chris Barker
Hi all, I originally came down on Has' side of this debate, but now think Bob has made the right choices, so I thought I'd add a couple comments. First, I'm a little unclear on what exactly Has wants. Could you clarify? I know what I want, I think what Bob has done accomidates this very well. If

Re: [Pythonmac-SIG] py2app standalone options

2004-12-16 Thread Chris Barker
Bob Ippolito wrote: The way to tell it to include nothing is to build an alias bundle (-A), which is for development only and doesn't create something suitable for redistribution. Can you tell us more about what an Alias bundle is? Is like the old MacPython applet? What I would like is a bundl

Re: [Pythonmac-SIG] Where to put data

2004-12-21 Thread Chris Barker
Charles Hartman wrote: With an earlier app I wanted an external data file and everybody told me to make it internal to the program (the app's Resources, I guess) instead. I couldn't, then. Now with a new app I want to do just that, but I'm not sure *how* to do it! It's a file of data -- a Pytho

[Pythonmac-SIG] The versioning question...

2004-12-27 Thread Chris Barker
Bob Ippolito wrote: That doesn't fix the multiple versions problem. This is a big issue that the core Pythonistas don't seem to be interested in addressing. It's odd, because I think it's a no-brainer that python modules need to be versioned, and there needs to be a way to have multiple versions

Re: [Pythonmac-SIG] The versioning question...

2004-12-27 Thread Chris Barker
Eric Nieuwland wrote: Would it be an idea to submit a PEP for extending the 'import' keyword? As I mentioned, my read on this is that it's not going to happen at the python level, at least not for a while. This is based on various threads in c.l.p, and maybe python-dev. So, while I still think i

Re: [Python-Dev] Re: [Pythonmac-SIG] The versioning question...

2004-12-27 Thread Chris Barker
Martin v. Löwis wrote: No. Normally, packages should aim for backwards compatibility, so that applications would only want to specify a minimum version, such as import xml assert xml.version_info > (0,8,2) Well, yes, but life is not always so simple, and while, as a rule, version 2.3 should be bac

[Pythonmac-SIG] Py2App 0.1.7

2004-12-30 Thread Chris Barker
Hi all (but particularly Bob) I just installed Py2App with the installer, but when I tried to use it I got: Traceback (most recent call last): File "setup.py", line 21, in ? import py2app File "/purelib/py2app/py2app/__init__.py", line 33, in ? File "/purelib/py2app/py2app/install.py",

Re: [Pythonmac-SIG] Py2App 0.1.7

2004-12-30 Thread Chris Barker
Bob Ippolito wrote: My first question was: "where the heck is /purelib ?" That's an artifact of how the distutils install command compiles .py files under bdist_mpkg, eventually I'll fix that. Thanks. It made the error confusing enough that it took me a while to figure out what was going on. So,

Re: [Pythonmac-SIG] coding preference

2005-01-18 Thread Chris Barker
Bob Ippolito wrote: On Jan 16, 2005, at 5:00, Pete wrote: I have been wondering what to use for my next project which involves a simple static window with graphical image background and drop down lists with dynamic content. If you use PyObjC, all of the widgets you need are already part of Cocoa

Re: [Pythonmac-SIG] coding preference

2005-01-19 Thread Chris Barker
Dethe Elza wrote: Right now I'm not concerned with cross-platform issues, but if I were I'd rather see time spent on making a strong, Pythonic UI library on top of pyobjc (mac), pywin32 (win), and pygtk (linux), Like PyGUI? (http://nz.cosc.canterbury.ac.nz/~greg/python_gui/) On the other hand, I'

Re: [Pythonmac-SIG] coding preference

2005-01-19 Thread Chris Barker
Charles Hartman wrote: Would you (or anyone) care to comment on the relative merits of the two? I've been using wxPython, but since I have no intention of writing commercial software I guess I could as easily (that is, cheaply) use QT. (I do need my (academic) programs to run on both Mac and Win

Re: [Pythonmac-SIG] [OT] To upgrade Mac OSX or not?

2005-01-25 Thread Chris Barker
- Original Message - From: Skip Montanaro <[EMAIL PROTECTED]> > This is probably a bit off-topic for this list, That's OK. This list is the only one I'm on where folks that seem to really understand OS-X reside as well. > It seems that Apple's upgrade policy almost forces me to buy new

[Pythonmac-SIG] Compiling matplotlib on OS-X without Fink

2005-02-01 Thread Chris Barker
Hi all, I just got matplotlib working on my box, so I thought I'd post this, so that it will be in the archives, and because I'd like others to try it and let me know if it doesn't work for you. One question for the knowledgeable folks here: I have /usr/include/zlib.h on my system, but I have no

[Pythonmac-SIG] How do I make a binary matplotlib distribution on OS-X?

2005-02-01 Thread Chris Barker
Hi all, See my previous message about building matplotlib on OS-X. Now that I've done that, I need to give it to some of my coworkers that don't have the dev tools installed, and are aghast at the idea of typing ./configure; make, make install. So, how do I make a binary distro? I know I can ge

Re: [Matplotlib-users] Re: [Pythonmac-SIG] Compiling matplotlib on OS-X without Fink

2005-02-01 Thread Chris Barker
Larry Meyn wrote: An alternative way to get freetype, libpng and zlib for OS X is to use the the i-Installer (http://ii2.sourceforge.net/) distribution application. It is primarily for TeX on OS X, but it provides several other useful binaries for OS X. Thanks larry. I've used that for TeX

Re: [Pythonmac-SIG] How do I make a binary matplotlib distribution on OS-X?

2005-02-01 Thread Chris Barker
Bob Ippolito wrote: 3) Statically link those libs into the matplotlib extensions This is (3) Make sure you don't have libpng.dylib or libfreetype.dylib sitting around on your link paths... Build them like this: ./configure --disable-shared --enable static That seemed to build and install both th

[Pythonmac-SIG] Binary Matplotlib package

2005-02-02 Thread Chris Barker
Hi all, I think I've successfully build a binary matplotlib package for use with Apple's Python on OS-X 10.3.* In theory the only other thing it requires is Numeric, and I have a package for that too (courtesy of Bob Ippolito). It's almost 5 MB, so I haven't included it here. I also don't have a

[Pythonmac-SIG] matplotlib OS-X binary problems.

2005-02-03 Thread Chris Barker
Hi all, I posted a note here the other day about a matplotlib binary. I've discovered a problem with it. Apparently, it has linked against the libfreetype in /usr/X11. That means it will work fine on a system with Apple's X11 installed (like mine or the first system I tested it on). So, the que

Re: [Matplotlib-users] Re: [Pythonmac-SIG] matplotlib OS-X binary problems.

2005-02-03 Thread Chris Barker
Bob Ippolito wrote: You have three options: - make sure the dylibs aren't sitting around in the same location as the .a, and make sure the .a's path is preferred (you could make a local dir, -L to it, symlink the archives in) I'm going to give this a try. - change the setup.py relatively signific

Re: [Pythonmac-SIG] fink vs DarwinPorts?

2005-02-04 Thread Chris Barker
Russell E. Owen wrote: I've seen a lot of discussion lately about fink and darwinports and I'm wondering if folks who have experience with either can comment on their relative merits? While we're at it, let's add Gentoo/Portage to the mix. I have been very impressed with Gentoo Linux, but haven'

Re: [Pythonmac-SIG] Re: [Matplotlib-users] matplotlib OS-X binary problems.

2005-02-04 Thread Chris Barker
Robert Kern wrote: Chris Barker wrote: However, that doesn't seem to work if I have libfreetype.dylib somewhere standard, and I certainly don't want to remove it! (Maybe I could temporarily, but that's hardly the robust solution I'm looking for) Change the paths that distu

Re: [Pythonmac-SIG] Re: [Matplotlib-users] matplotlib OS-X binary problems.

2005-02-04 Thread Chris Barker
John Hunter wrote: I do statically link png, freetype and zlib for win32 so that users don't have to install any of those prereqs. Thanks John, I have a plan now. I have a question, however. How do I get distutils to statically link a given lib? the only method I have now is to make sure that onl

Re: [Pythonmac-SIG] Fink, DarwinPorts vs py2app

2005-02-08 Thread Chris Barker
Bob Ippolito wrote: On 8-feb-05, at 15:51, Brendan Simons wrote: My question: can I use py2app to build a redistributable app that's statically linked to either package manager's libraries? Or do I have to install Fink/DarwinPorts on each of my clients' machines? If you are distributing a single

[Pythonmac-SIG] pythonmac Wiki has been spammed.

2005-02-08 Thread Chris Barker
Hi all, I'm not sure who maintain the pythonmac wiki, but it's been spammed. What a pain in the *&%*^! for example, see: http://pythonmac.org/wiki/TkAqua -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 vo

Re: [Pythonmac-SIG] Fink, DarwinPorts vs py2app

2005-02-08 Thread Chris Barker
Bob Ippolito wrote: Mine is not. I'm going to toss it in favor of a mpkg and/or egg based solution when one is ready. Sounds good to me. I've always thought that you need to make it easy, but not too easy. Years ago, someone hosted a "python on Linux" site, that had nothing but a bunch of rpm o

Re: [Pythonmac-SIG] Mac User Python newbies

2005-02-08 Thread Chris Barker
Bob Ippolito wrote: Getting you, the Mac user who is familiar with scripting, up and running with - 1) Python There are a number of good books out there. I recommend "Dive Into Python" (in print or on the web) and "Learning Python" 2) An IDE and debugger (Xcode?) Don't be too dismayed by the lac

Re: [Pythonmac-SIG] Mac User Python newbies

2005-02-08 Thread Chris Barker
Bob Ippolito wrote: Also, Mac OS X has only been around a few years and there aren't many people working on making it better (though I'm sure there are lots of people using it), so you can't really expect a best of breed solution just yet. True, but frankly, the IDE situation is not that much b

Re: [Pythonmac-SIG] Mac User Python newbies

2005-02-09 Thread Chris Barker
Bob Ippolito wrote: In our case, it was roughly 10x easier to hit the Mac platform first. Wow! That is a BIG ratio...really? The Tkinter GUI and the PyObjC GUI share a bunch of code (as much as is reasonable). Ah, that explains it. The Tkinter GUI actually has code in it to emulate a bunch of Ma

Re: [Pythonmac-SIG] Re: Mac Guikits

2005-02-09 Thread Chris Barker
Troy Rollins wrote: Personally, I thing all of the current GUI builders look like Windows ports (since they mostly are), and do not reflect the way a Mac user would develop anything, never mind a GUI designer. For the most part, I think it is going to take a tool which originates on the Mac to be o

Re: [Pythonmac-SIG] Mac User Python newbies

2005-02-09 Thread Chris Barker
Just a slight clarification: Roger Binns wrote: If you look at open source graphical toolkits that support at least two platforms, you won't find any that started on the Mac. These are the ones I know of that can be used from Python and where they started. - QT (Unix) - wxWidgets (Windows) > -

Re: [Pythonmac-SIG] Fink, DarwinPorts vs py2app

2005-02-10 Thread Chris Barker
Michael Maibaum wrote: FWIW, DarwinPorts has 'aqua' variants of many packages, cool. I'll have to look into which ones, thought I'll start with a question: wxPython? > and if you want them for something that doesn't have one, either add the variant and send off the patch, or make a request. As

Re: [Pythonmac-SIG] Mac User Python Newbies

2005-02-14 Thread Chris Barker
Brendan Simons wrote: TextWrangler, however, has good Python support, including cmd-r to run the present script. They've even written a parser for traceback, so when I get a runtime error, TW drops me right where I made the mistake. Handy. But does it do Python indenting correctly? This is

Re: [Pythonmac-SIG] Mac User Python Newbies

2005-02-14 Thread Chris Barker
Roger Binns wrote: My wxPython code is hand coded. I haven't found any of the design tools to be much good for non-trivial projects. For example try doing something like the wxPython demo with one of them. They also don't work well if you have custom widgets, which is a lot of my UI. This brings

Re: [Pythonmac-SIG] Mac User Python Newbies

2005-02-14 Thread Chris Barker
Louis Pecora wrote: > P.S. I have not yet had time to try out Chris Barker's packaging of > matplotlib. I hope to do that later this month, but BIG KUDOS to him > for trying to make the code available to more people. Gee thanks! As it turns out, Robert Kern is working on MacEnthon, which will sup

Re: [Pythonmac-SIG] Re: Mac Python User Newbies

2005-02-14 Thread Chris Barker
thor wrote: Well, that is a good point. I suppose everyone will have a differing opinion on that, particularly in terms of goals. For me, I'd like to see a single package, which includes a GUI designer, script editor with colorizing, debugger, interactive console, some sort of module browser for fu

Re: [Pythonmac-SIG] Re: Mac newbie

2005-02-14 Thread Chris Barker
Bob Ippolito wrote: 4. AnyGui seemed like a really good idea to me. Lots of good ideas never get the attention and effort they deserve. Except that AnyGui was never a good idea. A wrapper around a wrapper around a wrapper around a . just too much! As far as I can tell, there are two good i

Re: [Pythonmac-SIG] Re: Mac newbie

2005-02-14 Thread Chris Barker
Bob Ippolito wrote: On Feb 14, 2005, at 2:05 PM, Chris Barker wrote: Except that AnyGui was never a good idea. A wrapper around a wrapper around a wrapper around a . just too much! While I agree with the assertion that a large part needs to be written in a lower level language, I don&#

Re: [Pythonmac-SIG] Mac User Python Newbies

2005-02-14 Thread Chris Barker
Wolfgang Keller wrote: If for each given problem one implementation was chosen as "the official one" To some extent, while Guido could endorse something (which is more or less the case with IDLE), there is no way to name something the "official one", and even if there were, there's nothing to st

Re: [Pythonmac-SIG] Mac User Python Newbies

2005-02-14 Thread Chris Barker
Bob Ippolito wrote: Dumb question: What's wrong with wxScintilla? Doesn't SPE use it as well? What's Boa using? It's currently really slow on Mac OS X, as mentioned before. I don't like environments where I can type faster than the redraw. No idea about Boa. Boa uses wxScintilla (AKA wxSTC) al

Re: [Pythonmac-SIG] Mac User Python Newbies

2005-02-14 Thread Chris Barker
Troy Rollins wrote: I think that what the new user really want, more than "free", is something which provides a "raodmap to being productive." I've lost track, have you tried any of the proprietary tools? (Wing, etc.). I know I haven't. but the whole project? It is just too big, with too many lin

Re: [Pythonmac-SIG] Mac User Python Newbies

2005-02-14 Thread Chris Barker
Bob Ippolito wrote: I'm definitely interested in these things (more some than others), but I'm currently professionally committed to some other stuff. The real problem I'd have with this sort of business venture is doing it in a way that's compatible with open source, but still making enough m

Re: [Pythonmac-SIG] another query about IDE

2005-02-16 Thread Chris Barker
Charles Hartman wrote: In that long discussion, someone mentioned jEdit, so I went and looked it up. It looks very promising and robust. But am I right in thinking that the only path toward GUI apps that it would support would be Java (JPython) based? Rather than wx, and so on? It's an editor, n

Re: [Pythonmac-SIG] [ann] Appscript Installer 1.0

2005-02-16 Thread Chris Barker
Bob Ippolito wrote: Also, the extensions in this appscript installer weren't built with PantherPythonFix, so they are tightly bound to the Python 2.3.0 installation. If they were built with a PantherPythonFix'ed installation, then they would be compatible across all Python 2.3.x on Mac OS

Re: [Pythonmac-SIG] Why do I need PantherPythonFix?

2005-02-22 Thread Chris Barker
Bob Ippolito wrote: It is not yet public knowledge as to whether applications built with the vendor Python 2.3.0 on Mac OS X 10.3 will work on Mac OS X 10.4. Given that Python 2.3.x was in the WWDC sources and setup to build as a framework in the same place, then signs point to yes. However, if Ap

Re: [Pythonmac-SIG] Why do I need PantherPythonFix?

2005-02-22 Thread Chris Barker
Bob Ippolito wrote: I also rarely screw with PATH. Using /usr/bin/env is saying "let PATH decide". right. I am always working across platforms, so I want to specify which python to use, but not specify where to find it. I use explicit paths like: # MacPython 2.3.5 /usr/local/bin/python2.3 #

Re: [Pythonmac-SIG] Using Matplotlib interactive/GUI - How to?

2005-03-07 Thread Chris Barker
Charles Moad wrote: I don't think this file is ever explicitly made for you. You can download a sample from his website, http://matplotlib.sourceforge.net/.matplotlibrc. Download this and put it in your home dir. Yes, there is one there by default: /System/Library/Frameworks/Python.framework/

Re: [Pythonmac-SIG] Re: Binary Matplotlib package, working. Need to keep script running after plotting.

2005-03-07 Thread Chris Barker
Louis Pecora wrote: BUT. (Users are never satisfied are they/we? :-) ). My ultimate goal is to not wait until the end of the script to do the plot, but to be able to plot and keep the script running. This can be done either by pausing the script (in some way) or by leaving the matplotwindow

Re: [Pythonmac-SIG] Re: Binary Matplotlib package, working. Need to keep script running after plotting.

2005-03-07 Thread Chris Barker
Louis Pecora wrote: You pretty much got it. OK. I've enclosed a little script that demonstrates calling up some stock dialogs in a script with wxPython. really the only trick is that you need to initialize an app first. Look through the wx docs to see what standard dialogs there are. Plus there

Re: [Pythonmac-SIG] Missing extensions for Panther Python

2005-03-09 Thread Chris Barker
Bob Ippolito wrote: Note that _bsddb and readline include their respective dependencies statically, where _tkinter requires TclTkAqua 8.4 from: http://tcltkaqua.sf.net/ not that this is all that big a deal, but how hard would it be to make a single installer for everything that Tkinter needs (an

Re: [Pythonmac-SIG] GUI design tools

2005-03-10 Thread Chris Barker
Mark Phillips wrote: Thanks to everyone who replied. The information is useful and I will investigate each option. One other note. Boa is worth checking out for an integrated GUI design tool and IDE, but I'm not sure it's ready to go on OS-X. Last I heard, it wasn't yet working with wxPython 2.5

Re: [Pythonmac-SIG] GUI design tools

2005-03-10 Thread Chris Barker
Charles Hartman wrote: That is how I have found the situation. I use WingIDE for editing and debugging, but it doesn't include any graphic designer for wx. I wish something that did worked, or that I could get it to work. Several half-there solutions; but everything I've tried either isn't ready

Re: [Pythonmac-SIG] GUI design tools

2005-03-10 Thread Chris Barker
Chris Barker wrote: I thought someone had built a wxGlade package for OS-X. and here it is: http://www.wordtech-software.com/wxglade.html -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600

[Pythonmac-SIG] Another upgrade to the OS-X package for matplotlib 0.72.1

2005-03-16 Thread Chris Barker
Hi all, A user discovered that I had built only Numeric support, and not numarray support, into my OS-X matplotlib package. I've fixed that, and you can find the new version at: http://www.pythonmac.org/packages/matplotlib-0.72.1-py2.3-macosx10.3.zip It supports Numeric and/or numarray, and the

[Pythonmac-SIG] OT cvs version with OS-X 10.3?

2005-03-22 Thread Chris Barker
Hi all, Sorry for the OT question, but this is the only list I'm on with knowledgeable (about OS-X) and helpful folks. I just noticed that the cvs client I have on my box (which came with Apple's XCode tools) is version 1.10, which is pretty old, and lacks at least one feature I want (update -C

Re: [Pythonmac-SIG] ANN: py2app 0.1.8

2005-03-22 Thread Chris Barker
Bob Ippolito wrote: Actually, I'm not totally sure I trust the 10.3+ zip files for symlinks. Disk images are the popular solution. Thanks for the tip, I have had problems moving .app bundles around through a Windows-based server. > Some later version of > py2app will probably have an option fo

Re: [Pythonmac-SIG] RE: IDE recommendation

2005-03-29 Thread Chris Barker
Lee Cullens wrote: I'm leery of SPE, SPE has only recently worked at all on the Mac, and has a pretty Windows-centric design. so maybe a more general recommendation - an IDE I can "grow with" that has a significant user base, is still reasonably maintained (maybe even evolving). check the archi

Re: [Pythonmac-SIG] Re: IDE recommendation

2005-03-30 Thread Chris Barker
I had looked at XCode So what is the story with XCode? Has Apple made it extensible and customizable enough that it could be made into a good general purpose IDE/editor? One thing that has always bugged me about all the IDEs I've even seen is that they are designed for a couple languages/compil

Re: [Pythonmac-SIG] Re: IDE recommendation

2005-04-06 Thread Chris Barker
I've become fond of TextMate lately. Does it have incremental search? I really, really love that! -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle,

Re: [Pythonmac-SIG] Python documentation in PythonIDE--for Lee Cullens

2005-04-06 Thread Chris Barker
Charles Hartman wrote: Welcome to the Wing bandwagon (??). I like it a whole lot. It works a little more easily on Windows (which I use only to build distributables) than on Mac (where I use it all the time), because of the X11 layer on Mac; Isn't Wing built with QT? If so, are they working on

Re: [Pythonmac-SIG] Python documentation in PythonIDE--for Lee Cullens

2005-04-06 Thread Chris Barker
Bob Ippolito wrote: Isn't Wing built with QT? If so, are they working on a native version? No, and I doubt it. % macho_find WingIDE.app ... WingIDE.app/Contents/MacOS/bin/gtk-bin/lib/libgtk-x11-2.0.0.200.4.dylib Well, that explains the X dependence! maybe GTK will really become a cross platform to

Re: [Pythonmac-SIG] PyOXIDE wishes?

2005-04-12 Thread Chris Barker
[EMAIL PROTECTED] wrote: Sometime between now and WWDC, I'm planning on coming out with a major update for PyOXIDE Glenn, I'm sure you've seen the recent threads her bemoaning the lack of good tools (particularly open-source ones) for newbies developing with

Re: [Pythonmac-SIG] changging inheritance on the fly?

2005-04-17 Thread Chris Barker
altern wrote: Michael Hudson wrote: The way you ask the question suggests you don't know Python especially well. As Bob says, there are likely better ways to acheive your goal. any tips about those other ways? A) this is more of a topic for comp.lang.python, but as long s we're here... B) We can't

Re: [Pythonmac-SIG] Package installation

2005-04-18 Thread Chris Barker
[EMAIL PROTECTED] wrote: Can users be trusted to put Python packages in the right place on their own? If they have multiple versions of Python installed? I would say no. They do manage for applications, so why wouldn't they for Python packages? No, they don't. Mac users put Applications all over

Re: [Pythonmac-SIG] Upgrading to 2.4.1

2005-04-22 Thread Chris Barker
David M. Cooke wrote: that way. I put: export $PATH:PATH=/usr/local/bin You mean export PATH=$PATH:/usr/local/bin of course? Yes, of course. that's a good way to confuse a newbie! Sorry about that. -Chris -- Christopher Barker, Ph.D. Oceanographer NO

Re: [Pythonmac-SIG] Upgrading to 2.4.1

2005-04-22 Thread Chris Barker
Bob Ippolito wrote: On Apr 22, 2005, at 4:38 AM, Yair Benita wrote: If it co-exist how do I control which one is used when simply typing /usr/bin/python at the command line? NEVER EVER change anything in /usr (except /usr/local) or /System. DO NOT EVER DO THAT. BAD. I think the OP was not propos

Re: [Pythonmac-SIG] py2applet--is it really this easy?

2005-04-25 Thread Chris Barker
Bob Ippolito wrote: On Apr 24, 2005, at 12:20 AM, Kevin Walzer wrote: I dragged and dropped the main launcher script on the py2applet icon, and it proceeded to create a standalone package complete with PyQt libraries stuffed in! Yes, it really is that easy. So what's the difference between an "Ap

Re: [Pythonmac-SIG] Which Python are people going to use?

2005-04-29 Thread Chris Barker
[EMAIL PROTECTED] wrote: So if your archive is the only one that matters anyway, then we (the participants of this SIG) could start a massive packaging campaign to make it the "industry standard". Yes, Yes, Yes! please, let's all do this! It's really a nightmare that people can get packages from

Re: [Pythonmac-SIG] (no subject)

2005-05-09 Thread Chris Barker
Bob Ippolito wrote: > Well, you might think that you have particularly good reasons to use > PYTHONPATH, but pth files can do the same thing in a more predictable > way. I agree with this...I have NEVER used PYTHONPATH. > Perhaps it should ignore PYTHONPATH, but why? For exactly the reas

Re: [Pythonmac-SIG] (no subject)

2005-05-10 Thread Chris Barker
Ronald Oussoren wrote: > The same is true for something like DYLD_FRAMEWORK_PATH. This might > also be > useful for testing but can cause serious problems when you always set > it Sure, but no one would mess with DYLD_FRAMEWORK_PATH in nearly so casual a way as people mess with PYTHONPATH. I

Re: [Pythonmac-SIG] Is this the correct way to have installed and to use Python 2.4

2005-05-22 Thread Chris Barker
Bob Ippolito wrote: > Change your PATH environment variable to put /usr/local/bin before / > usr/bin or equivalent. That's option A. Option B. is to use "python2.4" when you want 2.4, either at the command line, or in a script's #! line: #!/usr/bin/env python2.4 I'm pretty sure Bob's 2.5 pa

Re: [Pythonmac-SIG] Run Python module directly from Terminal?

2005-05-23 Thread Chris Barker
Hi Lee, It looks like you've got it pretty well figured out, but the one thing that I'd add is the question of whether there is any need to put these in a special directory. I put all my utilities in /usr/local/bin, which should be on your path for all sorts of reasons anyway. I also tend to

Re: [Pythonmac-SIG] Apple's python extensions into Quartz2D

2005-05-31 Thread Chris Barker
Robert Kern wrote: > I disliked the implementation (undocumented, closed source SWIG bindings > are largely unusable), so I wrote my own using Pyrex. I call it, > unimaginatively, ABCGI, A Better CoreGraphics Interface. It is part of > Kiva, Enthought's graphics library, and has served as "groun

Re: [Pythonmac-SIG] Python Help?

2005-06-02 Thread Chris Barker
Charles Hartman wrote: > On Jun 1, 2005, at 10:33 PM, Matthew S-H wrote: >> list[currentWord:currentWord + 1] = [word[:-1], word[-1]] > You start with a list of strings, but your code replaces one (or more) > of them, not with a different string or two strings, but with a tuple > wh

Re: [Pythonmac-SIG] Spe-OSX package, wxGladeOSX updates; Boa Constructor coming

2005-06-03 Thread Chris Barker
Kevin Walzer wrote: > I'm now also supporting Tiger only. ouch! Darn, this is disappointing. It will be a quite a while 'till most people are running Tiger. Is there any chance of sticking with Panther? My understanding is that anything built for Panther will run on Tiger anyway. In any case,

Re: [Pythonmac-SIG] Python Help?

2005-06-06 Thread Chris Barker
> I would just like to say THANK YOU VERY MUCH!!! You're welcome. > I still > need to get IDLE installed on Tiger (which I just upgraded to). Why do you need to get IDLE working? It's really not the best option on OS-X anyway. I'd try PyOxide, or a plain old text editor and command line. If y

Re: [Pythonmac-SIG] matplotlib on Tiger?

2005-06-07 Thread Chris Barker
Charles Moad wrote: > I am posting a new 0.81 build with basemap-0.5 right now for Panther. But does this use python 2.4 ? That wasn't' clear to me from the download page. - Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMA

Re: [Pythonmac-SIG] matplotlib on Tiger---and Panther, with Py2.3 and Py2.4...

2005-06-08 Thread Chris Barker
John Hunter wrote: > If either of you have a diff against setup*.py that will make mpl src > builds on these systems work better, I'll fold them into the main > line. I had intended to do this, but before I do, I think theres a need for a little discussion. Charles and I have taken two differe

Re: [Pythonmac-SIG] [Matplotlib-users] Re: matplotlib on Tiger?

2005-06-08 Thread Chris Barker
Charles Moad wrote: > Installing each > dependency would probably be just as easy as trying to use components > from my installer. I put instructions for how to do this in my package for OS-X-10.3, py2.3.0. Here they are. If you do all this, you can donate the package to Bob's repository on pyth

Re: [Pythonmac-SIG] [Matplotlib-users] Re: matplotlib on Tiger?

2005-06-08 Thread Chris Barker
Charles Moad wrote: > Installing each > dependency would probably be just as easy as trying to use components > from my installer. I put instructions for how to do this in my package for OS-X-10.3, py2.3.0. Here they are. If you do all this, you can donate the package to Bob's repository on python

Re: [Pythonmac-SIG] Where to go for wxPython help & tutorials?

2005-06-16 Thread Chris Barker
Robert Kern wrote: > I do interactive plotting with matplotlib all the time exactly as you > describe. Robert, do you have any small demo programs that do this? I think it would be a good thing to have out there. Perhaps the embedded_in_wx examples already do this, but I haven't checked them ou

Re: [Pythonmac-SIG] Where to go for wxPython help & tutorials?

2005-06-16 Thread Chris Barker
Louis Pecora wrote: Chris Barker wrote: If you are interested in using FloatCanvas, you should send me a note, and I'll send you the latest version, and I can add you to a low-traffic mailing list for announcements and technical discussion. Thanks for the offer. I'll take yo

[Pythonmac-SIG] How do you install TkInter for python 2.4 (on 10.3)

2005-06-16 Thread Chris Barker
Hi all, Is there a canonical way to install Tkinter on OS-X with 2.4.1? I had installed it for use with Apple's 2.3, by installing the BI version of TCL/TK, then using Packman to install Tkinter.This worked, but I don't think there is are any Packages for 2.4. However, now that I've installed

Re: [Pythonmac-SIG] How do you install TkInter for python 2.4 (on 10.3)

2005-06-16 Thread Chris Barker
Thanks Bob. Bob Ippolito wrote: > On Jun 16, 2005, at 4:46 PM, Chris Barker wrote: >>Is it part of the standard install now? > > > Yes, from <http://undefined.org/python/#python>: > Unlike typical builds, this one has all the stock goodies: > > readline 5.0

Re: [Pythonmac-SIG] How do you install TkInter for python 2.4 (on 10.3)

2005-06-16 Thread Chris Barker
Robert Kern wrote: > I have had problems with matplotlib/Tk/Python2.4 on Tiger with both the > Apple-installed frameworks and freshly downloaded ones. > it is > matplotlib-specific. I recommend wxPython 2.6.1 on Tiger for matplotlib. Thanks for the heads up! Personally, I don't use TK anyway,

[Pythonmac-SIG] python2.4, bdist_mpkg, matplotlib and data dir.

2005-06-17 Thread Chris Barker
Hi all (but mostly Bob) I'm having trouble with bdist_mpkg and the matplotlib data dir. In setup.py, data_files is defined as: [('share/matplotlib', ['fonts/afm/cmex10.afm', 'fonts/afm/cmmi10.afm', 'fonts/afm/cmr10.afm', 'fonts/afm/cmsy10.afm', 'fonts/afm/cmtt10.afm', 'fonts/afm/pagd8a.afm', '

Re: [Pythonmac-SIG] python2.4, bdist_mpkg, matplotlib and data dir.

2005-06-17 Thread Chris Barker
Thanks for being so responsive, Bob. Bob Ippolito wrote: >>but when I use bdist_mpkg, they get put in: >> >>/usr/local/share/share/matplotlib >> >>Note the double "share". > > That's probably a bug, but it should probably happen with Python 2.3 > also. Can you reproduce there? Actually, it se

Re: [Pythonmac-SIG] Aquamacs

2005-06-21 Thread Chris Barker
Kevin Walzer wrote: > > I tried Aquamacs but on the file I loaded it was displayed as one very > long wrapped line with some funny character where the line endings > should have been. I assume the editor was configured to demand a > particular character for line endings and this file used a differ

[Pythonmac-SIG] Eclipse + PyDev

2005-06-22 Thread Chris Barker
Hi all, Is anyone using Eclipse + PyDev on OS-X ? It's possible that this could be the full-featured, cross platform, Open Source IDE I've been looking for. -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-

[Pythonmac-SIG] OS-X package for matplotlib 0.82 for OS-X

2005-06-24 Thread Chris Barker
Hi folks, There are now binary installers for OS-X for matplotlib 0.82 for both Apple's python2.3.0 and the 2.4.1 Framework build (available at: http://undefined.org/python/) They were built on OS-X 10.3.9, and should work there and on 10.4 They work with Agg, Tk and Wx back ends, and require N

Re: [Pythonmac-SIG] not "MacPython" - right place?

2005-07-20 Thread Chris Barker
William K wrote: > The problem is, there is no option in bdist to specify an install- > headers location, at least not in the package I'm looking at (Numeric). unless you really want to do things yourself, the best bet is to first look and see if the package you need is at: www.pythonmac.org

Re: [Pythonmac-SIG] Solid GUI toolkits for Mac?

2005-07-27 Thread Chris Barker
Robert Kern wrote: > wxPython and Tk are so-so in this regard. They use the real thing > underneath for most of their widgets. Really? TK sure didn't used to do this.And does it use an native higher level widgets? In any case, I haven't used TK in a long time, but everything I've seen indicates

Re: [Pythonmac-SIG] memory allocation issue

2005-08-01 Thread Chris Barker
Bob Ippolito wrote: > I imagine that the issue here is related to the following: > http://bob.pythonmac.org/archives/2005/01/01/realloc-doesnt/ > I suggest taking a look for code that creates big objects, resizes > them to be smaller, and keeps them around for a bit. Good idea, but I doubt that

Re: [Pythonmac-SIG] SciPy install on Tiger with Python 2.4.1 framework

2005-08-11 Thread Chris Barker
Bob Ippolito wrote: > On Aug 11, 2005, at 6:15 AM, Samuel M. Smith wrote: >>if sys.platform=='darwin': >> if os.path.realpath(sys.executable).startswith('/System'): >> # This is when Python is from Apple framework >> opt.extend(["-Wl,-framework","-Wl,Python"]) >> #else we

Re: [Pythonmac-SIG] SciPy install on Tiger with Python 2.4.1 framework

2005-08-11 Thread Chris Barker
Samuel M.Smith wrote: > Or should I give up and use DarwinPorts or Fink? Please don't, it would be really nice to have SciPy build on a fink-free OS-X. Please make sure to file patches for the changes to need to make to get it to work. -Chris -- Christopher Barker, Ph.D. Oceanographer

Re: [Pythonmac-SIG] SciPy install on Tiger with Python 2.4.1 framework

2005-08-12 Thread Chris Barker
Samuel M. Smith wrote: > The gcc 3.3 issue was the key. Thanks for help. > > Below is a list of what I did. > > Could someone take these directions and create a pkg installer for > scipy? So others can just double click to install? Great idea..why not you? py2app bdist_mpkg is fabulous. If y

[Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Chris Barker
Hi all, I'm working on a project in which we're trying to write a Web app that can also be run stand-alone on a non-networked machine. so far, I've got a little demo that creates a tiny little database-backed web site using: Quixote Cheetah SQLite pysqlite If it's run as __main__, it starts up

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Chris Barker
Kevin Ollivier wrote: > I can't answer the questions you posed below, as I do almost all of my > Mac work with wxPython, but when I read about what you're trying to do > I couldn't help but think that this is exactly what ActiveGrid > AppBuilder is for: > > http://www.activegrid.com > > Gra

Re: [Pythonmac-SIG] How to tell if a .app is clicked again?

2005-08-16 Thread Chris Barker
Bob Ippolito wrote: > IIRC, on Mac OS X, there isn't a difference between "re-launching" and > becoming active. Double-clicking the app should have the same behavior > as cmd-tabbing over to it (or using exposé, or the dock, etc.), because > LaunchServices recognizes that the application is

  1   2   3   >