[Pythonmac-SIG] Non-obvious Question about PyObjC and Xcode

2006-02-02 Thread Daniel Lord
I am a neophyte when it comes to Cocoa and ObjC so forgive me if his question is nonsensical and the answer is obvious to you seasoned professionals. I decided to tackle a formidable task: learning Cocoa and Objective-C by approaching them through Python and Perl which I know and find bette

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 34, Issue 19

2006-02-06 Thread Daniel Lord
From: Charles Hartman <[EMAIL PROTECTED]>Date: 6 February 2006 06:43:48 GMT-08:00To: Louis Pecora <[EMAIL PROTECTED]>Cc: pythonmac-sig@python.orgSubject: Re: [Pythonmac-SIG] install again? Hence, yet again, a plea for newbies everywhere:I continue to believe that it really, really shouldn't be nece

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 34, Issue 59

2006-02-11 Thread Daniel Lord
On Feb 11, 2006, at 6:32 PM, [EMAIL PROTECTED] wrote:Ronald Oussoren wrote: Totally off-topic, but if you'd move to setuptools you can keep several separate packages, but users could install using 'easy_install appscript' which would then take care of the dependencies for you. I think setuptools

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 34, Issue 59

2006-02-11 Thread Daniel Lord
On Feb 11, 2006, at 8:11 PM, Bob Ippolito wrote: > What they could do is offer better tools for creating scripting > dictionaries, and more documentation on the topic, but that's about > it. > > -bob > BINGO! You win! That's the point. ___ Pythonmac

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 34, Issue 59

2006-02-11 Thread Daniel Lord
On Feb 11, 2006, at 8:11 PM, Bob Ippolito wrote:On Feb 11, 2006, at 7:37 PM, Daniel Lord wrote:On Feb 11, 2006, at 6:32 PM, [EMAIL PROTECTED] wrote:Ronald Oussoren wrote: Totally off-topic, but if you'd move to setuptools you can keep several separate packages, but users could install

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 34, Issue 59

2006-02-11 Thread Daniel Lord
On Feb 11, 2006, at 8:11 PM, Bob Ippolito wrote:On Feb 11, 2006, at 7:37 PM, Daniel Lord wrote:On Feb 11, 2006, at 6:32 PM, [EMAIL PROTECTED] wrote:Ronald Oussoren wrote: Totally off-topic, but if you'd move to setuptools you can keep several separate packages, but users could install

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 34, Issue 69

2006-02-13 Thread Daniel Lord
On Feb 13, 2006, at 3:03 PM, [EMAIL PROTECTED] wrote:1. Monty Python related (to avoid the annoying offensive imagery   arguments) Monty Python is copyrighted work. I would advise keeping a careful distance from anything commercially recognizable unless you put aside a  significant settlement fund

[Pythonmac-SIG] Interesting Open Source Project: Cocoa Dialog

2006-02-14 Thread Daniel Lord
(Unless of course its been mentioned here before and then in the words of SNL's immortal Emily Latella: "Never mind!") CocoaDialog seems to fill that gap between the command-line and PyObjC providing a 'quick and dirty' GUI interface for scripts (Python. Perl. Shell, Ruby, etc.) I just found

[Pythonmac-SIG] re Icon discussion

2006-03-07 Thread Daniel Lord
(deleted thread as it was getting too long) About this icon discussion, why don't we use a solution that maintains, reinforces, and capitalizes on the overall identity of cross-platform Python while distinguishing the OS X Mac-Python port by just taking the new Blue-Yellow Python logo and 'a

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 35, Issue 17

2006-03-07 Thread Daniel Lord
I agree with the main sentiments here. In addition, it depends not just on the volume being reasonable (a subjective word most of us intuitively understand), but also upon the quality of the firm and legitimacy of the offer. I personally find it interesting to see Pixar using Python and more intere

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 35, Issue 36

2006-03-19 Thread Daniel Lord
I prefer:import osos.environ['HOME']but I have no strong argument for that bias other than I sometimes use different environment variables and I standardized on the call.DanielOn Mar 19, 2006, at 3:00 AM, [EMAIL PROTECTED] wrote:From: "Stewart Midwinter" <[EMAIL PROTECTED]> Date: March 18, 2006 4:4

Re: [Pythonmac-SIG] PyXML install problems

2006-04-04 Thread Daniel Lord
Would this be a good way ti quickly figure it out: daniello ~ cc -arch i386 i686-apple-darwin8-gcc-4.0.1: no input files It looks like the compiler identifies itself as Intel-capable i.e. i686. Of course that is no guarantee the includes and libs are there, but its a good way to bet. I hav

Re: [Pythonmac-SIG] 2.4.3 Python Universal Binary Pystone Comparison

2006-04-06 Thread Daniel Lord
Just for fun I got the svn source and compiled it on my 1.8Ghz Dual G5 running 10.4.6 to add a data point:daniello ~/WIP/Python-Builds/py-24 ./python.exe -c "from test.pystone import pystones; print pystones()"(1.6199, 30864.1975308642)Better than the 1.86 GHZ MacBookPro but surprisingl

Re: [Pythonmac-SIG] 2.4.3 Python Universal Binary Pystone Comparison

2006-04-07 Thread Daniel Lord
;-( Thanks Ron--Not! Now my 1.8 Dual really looks long in the tooth at 3.0 pystones. Guess I need to buy a MacBook now that it runs rings around my clunky old desktop. It would be interesting to see how the dual core G5 and Quad core do as well as the 2+ Ghz newer duals. I know the origina

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-08 Thread Daniel Lord
For what it is worth, implementation looks quite 'OS X-like' and I like it for that reason. It also maintains the snake connection in a more abstract fashion which is good--I wonder if Mr. Van Rossum ever endorsed the snake imagery anyway now that I have been schooled (thanks Bob O. ;-) th

Re: [Pythonmac-SIG] bin and version

2006-04-09 Thread Daniel Lord
On Apr 8, 2006, at 7:59 PM, linda.s wrote: > Hi, > I installed quite a few python versions in my computer and I want to > know where they are located. > Should i check them in the bin folder? > If so, why I can not find the bin folder in my home directory? Someone answered the portion regarding

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-09 Thread Daniel Lord
I was hoping some encouragement might result in eventual simplification of the logo. I guess I'll repeat myself from a while back: why don't we just take blue and yellow official logo and 'aqua-fy' it a bit. Look at what Apple did for the Windows logo for BootCamp. Simple, elegant twist on th

[Pythonmac-SIG] appscript installer contents not Universal

2006-04-10 Thread Daniel Lord
I have discovered that the appscript installer from your site is not Universal, though building it from source using he new Universal Python build works. I have an Intel system and I built, installed, and tested it (somewhat with my own projects). If you send me the instruction to build the p

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-11 Thread Daniel Lord
Personally I am with Bill, I like Jython but it unfortunately has fallen way behind in Python versions. But it has teh advantage that Java is supported on all main 'cross' platforms. On Apr 11, 2006, at 14:43, Louis Pecora wrote: > I bought the wxPython in Action book and started trying the s

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-15 Thread Daniel Lord
It is _not_ a good thing to remove Apple's Python. Don't panic though. First, let's stop this from happening to anybody else... Can you tell me where those instructions are that recommend that on Python.org? I believe they refer to a previous _MacPython_ that was installed which is not the sa

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-15 Thread Daniel Lord
On Apr 15, 2006, at 14:10, Troy Rollins wrote:The thing I'm slightly unclear about is the best way to change my   path on OSX. Changing things like ~/.profile and ~/.bash_profile   change it for the shell, but do not change it systemwide. I've   modified my ~/.MacOSX.environment.plist, which seems

Re: [Pythonmac-SIG] 2.3 vs 2.4 - Installer myopia

2006-04-15 Thread Daniel Lord
On Apr 15, 2006, at 5:57 PM, Bob Ippolito wrote:Installers for extensions are specific to a particular version ofPython anyway.  But is that always necessary? I am sure it is sometimes, particularly when the OS changes dramatically like from 10.3 to 10.4.But what about the case of the Alias researc

Re: [Pythonmac-SIG] 2.3 vs 2.4 - Installer myopia

2006-04-15 Thread Daniel Lord
On Apr 15, 2006, at 16:03, Bob Ippolito wrote: > It's possible that the wxPython guys screwed up, or it's possible > that you downloaded an installer for Apple's Python 2.3 framework > and expected it to work with an entirely different version of > Python installed in another location. You

Re: [Pythonmac-SIG] Using setup.py/distutils on Intel Macs

2006-04-16 Thread Daniel Lord
On Apr 16, 2006, at 17:54, steve wrote: > When I start using the module I usually run into "ImportError: > Inappropriate file type for dynamic loading". Is there any > workarounds? That error is ( in my experience) typical to receive when loading a PPC format library on the i386 platform. The

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-17 Thread Daniel Lord
On Apr 17, 2006, at 14:15, Bill Janssen wrote:I see that Andrew Clover has submitted an update of his icons for Python. http://thread.gmane.org/gmane.comp.python.devel/78197/focus=78701 That's more like it IMHO though I was hoping for  a little Aqua Jellybean bevels on the Blue & Yellow logo part

[Pythonmac-SIG] Someone had PIL trouble on i386 10.4.6 Python 2.4 IIRC--I succeeded this evening

2006-04-17 Thread Daniel Lord
I was able to successfully compile and install it with just a few tweaks on my Macbook Pro this evening. I don't know if this newbies methods are optimal, but they seem to have worked finally (I tried straight 'out of the box' compiles which failed at first) [EMAIL PROTECTED] sudo python s

Re: [Pythonmac-SIG] Someone had PIL trouble on i386 10.4.6 Python 2.4 IIRC--I succeeded this evening

2006-04-18 Thread Daniel Lord
Chris, I will do that but as it stands, one has to build this on the system it is going to run on, i.e. i386. I assume, but haven't gotten around to trying to build this on my PPC system since there is a valid build for that already. First, I am going to create a package for this for i386-base

Re: [Pythonmac-SIG] Mac Python is DEAD...Long Live Python on the Mac

2006-04-18 Thread Daniel Lord
On Apr 18, 2006, at 16:46, Terry Jones wrote: > | In my opinion, the problem is the term "MacPython". Python is > Python, > | period, and we should just call it that, even if it's running on > the Mac > | platform. Perhaps this was different in the pre-OSX days, but > not now. > > Make th

Re: [Pythonmac-SIG] py2app = newbie path confusion

2006-04-18 Thread Daniel Lord
On Apr 18, 2006, at 22:05, Jim Tittsler wrote: BICUBIC = 3  ###Image module broke? so define it's constant here BICUBIC = Image.BICUBIC (And it's "its."  :-)  But you should find out why your PIL is broken. Hey, I am  taking a break an a little so I'll 'nit pick' English:It isn't actually clear (t

Re: [Pythonmac-SIG] py2app = newbie path confusion

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 6:38, corporate user wrote: > Many thanks to you Bob. > You're a community treasure. > > >> Also note that the Image module probably isn't broken (don't have >> PIL installed at the moment, can't check). Constants don't >> automagically just insert themselves into your script

Re: [Pythonmac-SIG] Someone had PIL trouble on i386 10.4.6 Python 2.4 IIRC--I succeeded this evening

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 9:49, Christopher Barker wrote: > My suggestion: > > A ExtraLibs.mpkg, right there with the packages on pythonmac.org that > includes Universal shared libs required by some common packages. They > could perhaps be installed in the Python Framework, so they won't > interfere wit

Re: [Pythonmac-SIG] Fixing the documentation...

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 9:14, Bill Janssen wrote: > I'm still in favor of simply removing outdated and dangerous docs, but > perhaps there's some effective way of thoroughly marking them as bad, > instead. Put in doc sections entitled Deprecated and Obsolete and do the same for the web and wiki. I

Re: [Pythonmac-SIG] py2app = newbie path confusion

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 10:03, Zachery Bir wrote: > On Apr 19, 2006, at 12:53 PM, Christopher Barker wrote: > >> corporate user wrote: >>> I'm forming the opinion that >>> "from XXX import *" should be banned from all introduction, tutorial >>> and example materials. >> >> Actually, it should be bann

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 10:33, Jacob Rus wrote: >> There's the flat logo, but the logo I was pointing to was a version >> that's shaded a bit to look slightly raised and rounded. > > Were you looking for something more like [this][1]? > > -Jacob > > [1]: http://hcs.harvard.edu/~jrus/python/Glassy-Ico

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 12:08, Jacob Rus wrote: >>> [1]: http://hcs.harvard.edu/~jrus/python/Glassy-Icon.png >> >> Much better. In fact a great deal better--its looks worthy of the >> Mac. >> I could even say this is great. But, pushing the envelope a bit if >> you don't think I am being too demand

Re: [Pythonmac-SIG] Fixing the documentation...

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 12:52, Ronald Oussoren wrote:       2.1 macpath -- MacOS path manipulation functions Deprecate. Also note that the 2.4.3 documentation now says "It can   be used to manipulate old-style Macintosh pathnames on Mac OS X (or   any other platform)." which is incorrect (it uses POSI

Re: [Pythonmac-SIG] Someone had PIL trouble on i386 10.4.6 Python 2.4 IIRC--I succeeded this evening

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 13:04, Ronald Oussoren wrote:I'll post the script I'm using to build universal packages this weekend. I have recipes for the software I'm using and several other. That   includes PIL (including jpeg, tif and freetype support).I'll put mine on my iDisk and send you a link. I'd li

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 13:41, Jacob Rus wrote:Ok, got it.  Well, I've now put more time into this than I wanted to,  but I've got a glassy version of the correct python logo at full size,  [here][4].  Let me know what you all think.  If it looks good to  everyone, I can make a .py icon like the one li

[Pythonmac-SIG] Universal PIL for Python 2.4 on OS X 10.4 needs testing

2006-04-19 Thread Daniel Lord
I tested my Universal PIL installer for Python 2.4 on 10.4 on my MacbookPro but not PPC (my daughters refuse to quit Zoo Tycoon 2 and log off so I can tinker with it ;-) and it seems to work though I don't have a rigorous PIL test suite. The zip file is on my iDisk if anyone wants to give i

Re: [Pythonmac-SIG] Someone had PIL trouble on i386 10.4.6 Python 2.4 IIRC--I succeeded this evening

2006-04-19 Thread Daniel Lord
st_mpkg ? By build I by hand: curl, patch code by hand, make; sudo make install. The libs need their make components patched to compile FAT binaries and PIL needed to be patched to find the .a files to link into its binaries. And freetype uses a confusing Jam-based install which had me sea

[Pythonmac-SIG] py2app argvemulation bug (or mis-configure) on i386 Python 2.4 on OS X 10.4

2006-04-19 Thread Daniel Lord
I decide to create a droplet from py2app in my copious spare time for a few minutes earlier and I noticed some errors in the Console plus the code is simply printing out all the strings in sys.argv plus, of course given the error, the paths of the files dropped on it never showed up in sys.

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 21:41, Christopher Barker wrote: > Well, a script is text, but a .pyc file is not Data. Maybe "bytecode", > which is too long, or "bytes" or "code" or ".pyc" or ??? I think it should be an Apple with a bite out of it--get it? Apple, snake, apple, byte . I kill myself ;-) Ok

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-19 Thread Daniel Lord
On Apr 19, 2006, at 22:47, Jacob Rus wrote:Brendan Simons wrote: I like it, but Aqua has tuned down a lot its glassiness in recent  years.   I would tone down the difference between highlights and shadows  myself, but I'm not going to argue about it :) You're probably right, but make sure you look

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-20 Thread Daniel Lord
On Apr 20, 2006, at 10:06, Charles Hartman wrote:On Apr 20, 2006, at 12:55 PM, Christopher Barker wrote: Perhaps the "snakes" logo should be larger, filling more of the icon, particularly at the smaller sizes. There isn't any real info in the "paper" background. FWIW, I agree with that. Me three.

[Pythonmac-SIG] HFS versus POSIX paths (changed from fixing the documentation)

2006-04-20 Thread Daniel Lord
I changed the topic so many can avoid it and we don't bore them to tears ;-)On Apr 20, 2006, at 2:02, has wrote:As for working with HFS paths (and a pox on scriptable apps that require them, btw, because they're fundamentally unreliable), you ought to be able to use Carbon.CF to translate between P

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-20 Thread Daniel Lord
On Apr 20, 2006, at 20:11, Brendan Simons wrote: > I've attached a few more mockups using Jacob's excellent aquified > logo. Have a look here: > http://www.flickr.com/photos/[EMAIL PROTECTED]/132185325/ > > In the spirit of open source, the layered psd files are available > here: > http://s65.

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-21 Thread Daniel Lord
On Apr 21, 2006, at 9:45, Christopher Barker wrote: > > Question: Do icons need to be associated with applications? > Personally, > I'd love to have all my *.py files have a nice python icon, but be > able > to choose what text editor or IDE I'd want them to open up with my > default (and it w

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-21 Thread Daniel Lord
On Apr 21, 2006, at 12:12, Christopher Barker wrote:Yeah, the way to do it is editing the app's Info.plist, and adding the  icon to my.app/Contents/Resources. But wouldn't that make all BBedit associated files get the Python icon? Yes, I believe it would and, further, one would have to keep 'hacki

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-21 Thread Daniel Lord
As for applet icons. How about taking a different tack such as a variation on the icon used for Applescript applications: After all, a p2app application is still a script deep down. ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-21 Thread Daniel Lord
On Apr 21, 2006, at 20:00, Jacob Rus wrote: > Jacob Rus wrote: >> How's this then: >> >> http://hcs.harvard.edu/~jrus/python/prettified-py-icons.png > > Alright, 2 or 3 of the icons have since been updated, and that picture > is new and improved. Are there any more suggested tweaks, or are the >

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-21 Thread Daniel Lord
On Apr 21, 2006, at 21:08, Paul Berkowitz wrote: > On 4/21/06 4:40 PM, "Daniel Lord" <[EMAIL PROTECTED]> wrote: > >> As for applet icons. How about taking a different tack such as a >> variation on the icon used for Applescript applications: >> After al

[Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-21 Thread Daniel Lord
The analog of a single gene pool in nature has come to pass for arbitrary precison math (APM) for OS X (native not Python).GMP is 'it' for APM as far as I can tell unless I want to write my own.And GMP doesn't compile on Mac-tel and won't for some time:The current release is 4.2, released 2006-03-2

Re: [Pythonmac-SIG] HFS versus POSIX paths (changed from fixing the documentation)

2006-04-22 Thread Daniel Lord
On Apr 21, 2006, at 3:06, has wrote: > Daniel Lord wrote: > >> I am writing an app combining excel and python/appscript to fetch >> quotes from the web and value stock portfolios . >> But I give up on using appscript with Excel--some things just >> don't w

[Pythonmac-SIG] New wiki entry on Universal libraries and extensions

2006-04-22 Thread Daniel Lord
I made good on my threat and wrote it up. Wiki's are famous for providing misinformation because anyone can write to them regardless of the veracity of their exposition (e.g. a newb like me). So, if someone doesn't mind, please review my content and let's get anything incorrect fixed. http

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Daniel Lord
On Apr 22, 2006, at 9:50, Alex Martelli wrote: > >> And GMP doesn't compile on Mac-tel and won't for some time: >> >> The current release is 4.2, released 2006-03-26. It fixes all bugs >> found in 4.1.4, as well as several portability problems. It also >> adds several new features. Note that we ch

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Daniel Lord
On Apr 22, 2006, at 12:36, Alex Martelli wrote: > It's not just gmpy, but anything that needs to be linked as - > bundle, whatever that means exactly. The workings of ld are > slightly arcane -- I did already ask for advice from colleagues who > I thought SHOULD know; for example, Matt Auste

Re: [Pythonmac-SIG] No arbitrary precison math on Mac-tel say it ain't so!

2006-04-22 Thread Daniel Lord
On Apr 22, 2006, at 14:51, Alex Martelli wrote: > > On Apr 22, 2006, at 1:51 PM, Daniel Lord wrote: >... >> So the answer, IMHO and I could be wrong since I am very new to >> this, is one of two choices: >> 1) use 'ld' to produce two separate builds

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-22 Thread Daniel Lord
On Apr 22, 2006, at 15:49, has wrote: > Jacob Rus wrote: > >> Ronald Oussoren wrote: >>> Now that we (almost) have new icons it would be great if someone >>> could have >>> a look at IDLE and at the very least writes down what could be >>> done to make >>> it a better OSX citizen. Actual pa

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-23 Thread Daniel Lord
On Apr 23, 2006, at 13:36, Jacob Rus wrote: > has wrote: >> I could draw up a grinder or something in Illustrator, but it >> probably won't be for some days. If you can find something sooner, >> that's cool, otherwise let me know middle of next week and I'll >> see what I can do. > Okay, th

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-23 Thread Daniel Lord
On Apr 23, 2006, at 17:20, Jacob Rus wrote:Yeah, building on Brendan Simons' idea of what a Help Indexer-esque  Applet Builder.app icon should look like, here's what I've come up with: http://hcs.harvard.edu/~jrus/python/prettified-py-icons.png Well what do you know! Even better than a blender tho

Re: [Pythonmac-SIG] New wiki entry on Universal libraries and extensions

2006-04-24 Thread Daniel Lord
On Apr 24, 2006, at 11:14, Christopher Barker wrote: > My primary comment is that you're discussing building a Universal > package, but keeping the external libs installed with the standard > "make > install". I haven't tried your scheme yet, but usually that results in > dynamic libs being bui

[Pythonmac-SIG] Apple Tutorial on building Universal binaries from Open Source

2006-04-26 Thread Daniel Lord
Binaries from configure-based Open Source Projects Daniel Lord[EMAIL PROTECTED]---"You will never regret getting up too early,and you'll always regret getting up too late,but sometimes you may regret giving up too late."                          -- Moun

[Pythonmac-SIG] GMP bigot now chastened.

2006-04-26 Thread Daniel Lord
; accept the resulting patches. > > BTW, the biggie is fully reproducible on PPC Macs, too, so GMP 4.2 > builds on those in a state which still doesn't let gmpy.so link (it > may feel less urgent just because GMP 4.1.* does build fine;-). I've > e

Re: [Pythonmac-SIG] GMP bigot now chastened.

2006-04-27 Thread Daniel Lord
On Apr 26, 2006, at 22:45, Alex Martelli wrote: > > On Apr 26, 2006, at 8:19 PM, Daniel Lord wrote: > >> Alex, >> Just so you and anyone who cares that our platform get fair >> treatment know. Turns out the Mac bigot was behaving badly again. >> GMP 4.2 doesn

Re: [Pythonmac-SIG] [OT] test, please ignore

2006-05-02 Thread Daniel Lord
o be blamed. > > Ronald > ___ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig Daniel Lord [EMAIL PROTECTED] --- "You will never regret getting up too early, and you'll al

[Pythonmac-SIG] AE/PyObjC: how to use event loops to process AE

2006-05-09 Thread Daniel Lord
A PyObjC application using Appkit starts and event loop in AppHelper thus: AppHelper.runEventLoop() But, the examples I have seen using Apple Events in Python (not PyObjC) install their own handlers and then call the event loop: CarbonEvt.RunApplicationEventLoop() Unfortunat

Re: [Pythonmac-SIG] ImportError: cannot import name PostponedException

2006-05-09 Thread Daniel Lord
On May 9, 2006, at 9:02, Christopher Barker wrote: > > Which brings up a question. Is it possible to build universal binaries > with gcc 3.*? I'd love to see a Universal SciPy package! I haven't tried this, but it might hold promise: http://www.macosxhints.com/article.php?story=20060423105014540&

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-14 Thread Daniel Lord
ther, remember, no port is perfect--there are always bugs which decline in number and the frequency with which they are encountered but some are always there they are just the more obscure ones. Daniel Lord [EMAIL PROTECTED] --- "You will never regret getting up too early, and you'll alwa

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Daniel Lord
On May 15, 2006, at 19:11, Marcin Komorowski wrote: > Thanks to all who have replied with information, and especially to > Bob for pointing me to a location where I can find a bunch of recent > universal binary builds of python components. I have not found a > link to this page on the Internet b

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Daniel Lord
On May 16, 2006, at 9:52, Christopher Barker wrote: > Isn't there a way to tell XCode specifically what python you want > it to > use? I don't use XCode, so I have no idea. Since my impression is the XCode 'philosophy' to design it as a tool 'shell' using scripting to leverage command-line

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Daniel Lord
On May 16, 2006, at 5:49, Marcin Komorowski wrote: > Thanks Thorsten. > > OK, I think I will read the FAQ cover-to-cover so to speak before > asking another question :). Now _that's_ good Mac Python Community citizenship. Nice to know some will actually read all that hard work of so many. Than

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Daniel Lord
On May 16, 2006, at 16:00, Bill Janssen wrote: >>> OK, I think I will read the FAQ cover-to-cover so to speak before >>> asking another question :). >> >> Now _that's_ good Mac Python Community citizenship. > > Of course, it's a Wiki, so the next question is: Have you read it > lately? > > Bil

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Daniel Lord
On May 16, 2006, at 17:43, Marcin Komorowski wrote: > > What do you than use for your Python/ObjC development on a Mac? Honestly, I use BBEdit as the overall text editor and I test complex Python non-GUI modules as 'stand-alone' modules using Komodo Professional (great debugger) or if they a

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-17 Thread Daniel Lord
On May 17, 2006, at 2:33, Piet van Oostrum wrote: >>>>>> Daniel Lord <[EMAIL PROTECTED]> (DL) wrote: > >> DL> Question for the group: if I modify the environment through >> os.environ >> DL> ['PATH'], will Finder applications pick t

Re: [Pythonmac-SIG] Controlling Mail.app from Python

2006-05-28 Thread Daniel Lord
On May 27, 2006, at 21:26, Marcin Komorowski wrote: > Is there a way to control Mail.app application from within Python the > way it can be controlled using AppleScript? Explore the appscript module (http://freespace.virgin.net/ hamish.sanderson/appscript.html). I have found it to be powerful a

Re: [Pythonmac-SIG] Controlling Mail.app from Python

2006-05-28 Thread Daniel Lord
On May 28, 2006, at 10:58, David Warde-Farley wrote: > Maybe for such complicated interactions a plugin would do the > trick? (I'm not totally sure, I haven't explored their full > capability). > > If you're interested see the tutorial at > > http://www.bazza.com/~eaganj/weblog/2006/03/29/dem

[Pythonmac-SIG] Another report on py2app error with Xcode 2.3

2006-05-29 Thread Daniel Lord
I don't know if this helps at all, but here is the error I get...[[EMAIL PROTECTED]]$ python setup.py py2app -Arunning py2appTraceback (most recent call last):  File "setup.py", line 30, in ?    app = [app_data]  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/distutils/core.p

[Pythonmac-SIG] NEVER MIND! Re: Another report on py2app error with Xcode 2.3

2006-05-29 Thread Daniel Lord
Sheer stupidity on my part ;-)On May 29, 2006, at 15:49, Daniel Lord wrote:I don't know if this helps at all, but here is the error I get...[[EMAIL PROTECTED]]$ python setup.py py2app -Arunning py2appTraceback (most recent call last):  File "setup.py", line 30, in ?    app = [

[Pythonmac-SIG] FYI: Trouble with Xcode 2.3 is not localized...

2006-06-05 Thread Daniel Lord
t You Need.New! Netscape Toolbar for Internet ExplorerSearch from anywhere on the Web and block those annoying pop-ups.Download now at http://channels.netscape.com/ns/search/install.jsp___gmp-discuss mailing list[EMAIL PROTECTED]http://swox.com/mailman/list

Re: [Pythonmac-SIG] PIL related crash?

2006-06-10 Thread Daniel Lord
ore helpful. My system is: OS X 10.4.6 Python 2.4.3 (#1, Apr 7 2006, 10:54:33) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Tcl/Tk 8.4.13 Daniel Lord ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] FIXED: PIL related crash?

2006-06-10 Thread Daniel Lord
On Jun 10, 2006, at 17:16, Jerry LeVan wrote: > I checked the PIL directory and noticed that the dates on the PIL > files looked a bit old. > > I went back to pythonmac.org and downloaded the PIL that was > available and all is well now :) > > Jerry > Jerry, The PIL you just got is the one I am

Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Daniel Lord
I just tried the PIL build with the 2.5b version and it fails but the 2.4.3 version works fine...see below.My hunch is Ronald might have disabled some paths in order to keep the beta from interfering with the standard 2.4 install. Or not ;-)Ronald what say you?[[EMAIL PROTECTED]]$ python2.5Python 2

Re: [Pythonmac-SIG] problem installing Python Image Library

2006-07-26 Thread Daniel Lord
Are you using the Python 2.5 beta or the standard 2.4 install?the PIL build was made for the 2.4 installation and seemed to work fine with it, but I have not tested it with the 2.5 Beta.DanielOn Jul 26, 2006, at 4:08, Jörg Kantel wrote:Hi,today I tried to install the Python Image Library from this

Re: [Pythonmac-SIG] problem installing Python Image Library 2nd Post

2006-07-26 Thread Daniel Lord
aster and Commander, the Far Side of the World Daniel On Jul 26, 2006, at 10:39, Bob Ippolito wrote: > > On Jul 26, 2006, at 7:58 AM, Daniel Lord wrote: > >> I just tried the PIL build with the 2.5b version and it fails but >> the 2.4.3 version works fine...see below. >

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

2007-01-06 Thread Daniel Lord
gmpy universal build (static) I struggled with it for a while, but was finally able to build both gmp and then gmpy as static universal libraries on my Macbook Pro. Dynamic libs are still problematic but I'll try that next. Is this something new or is this 'old hat' and no one cares. The reas

[Pythonmac-SIG] gmpy update: gmp tests all pass, failure on 14 gmpy tests

2007-01-08 Thread Daniel Lord
I need some guidance here. On first blush it doesn't make sense that the gmp checks pass but 14 gmpy tests fail. Is that a problem with the API adaptation or a case of the gmp test not covering all functionality (not likely in my view) gmp is properly installed as a universal static binary and

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

2007-01-09 Thread Daniel Lord
e to learn is admin nor do the content justice right now. Daniel On Jan 9, 2007, at 0:45, Ronald Oussoren wrote: > > On 7 Jan, 2007, at 0:42, Daniel Lord wrote: > >> >> Then I'll package it up for distribution. > > If you do that please also post patches an

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

2007-01-09 Thread Daniel Lord
use. Sound like a project to go into the queue. That reminds me, I need to do this for my universal PIL build for 2.4 as well lest the formula become lost in antiquity ;-) On Jan 9, 2007, at 3:32, Ronald Oussoren wrote: > > On 9 Jan, 2007, at 12:04, Daniel Lord wrote: > >> Ronald, &

[Pythonmac-SIG] Question about "setup.py build"

2007-01-24 Thread Daniel Lord
I admit to being a novice at this yet, but I couldn't find anything relevant to this issue on-line: I am trying to build a version of pysqlite that works with sqllite3 : 1. Apple's installed version doesn't work with the latest so I reinstalled 2. sqllite3 won't build shared libs for universal

Re: [Pythonmac-SIG] Question about "setup.py build"

2007-01-24 Thread Daniel Lord
Thanks Bob, coming through as always. Daniel On Jan 24, 2007, at 14:26, Bob Ippolito wrote: > On 1/24/07, Daniel Lord <[EMAIL PROTECTED]> wrote: >> I admit to being a novice at this yet, but I couldn't find anything >> relevant to this issue on-line: >> >

Re: [Pythonmac-SIG] Question about "setup.py build"

2007-01-24 Thread Daniel Lord
ork. Shame, shame. On Jan 24, 2007, at 15:08, Daniel Lord wrote: Bob, Just so you know though, I was building the dynamic libs because the installer looks for them even if you disable shared libs. Bad design. So I'll have to 'hack' it to make it work. Not that that isn'

Re: [Pythonmac-SIG] appscript

2007-02-22 Thread Daniel Lord
My profile is close except I moved to Python 2.5: Macbbok Pro Core 2 Duo, 2.33GHz, 2GB, 10.4.8 cannot reproduce, long pause while iTunes launches though... [EMAIL PROTECTED] Thu Feb 22 11:44:38P [ 1 ] ~/ python Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) [GCC 4.0.1 (Apple Computer, Inc. build

Re: [Pythonmac-SIG] PyOSA preview

2007-03-02 Thread Daniel Lord
has, Thanks for all your hard work on this. I am going to work with it a bit when I get some time. I use Komodo a lot these days, it will be interesting to see if/how I can merge the two a bit. I saw Matt's article and I bookmarked for reading this weekend. Haven't tried Ruby yet, I should work

Re: [Pythonmac-SIG] How to make an apt except Drag and Drop

2007-03-10 Thread Daniel Lord
Christopher, I found an example in a wiki that works perfectly accepting objects before and after startup. http://wiki.wxpython.org/index.cgi/Optimizing_for_Mac_OS_X Towards the end there is a sample wxPython applications and a setup.py file. Be aware that you need to replace a line in the s

Re: [Pythonmac-SIG] Unicode

2007-03-15 Thread Daniel Lord
Good article link, Thanks. On Mar 14, 2007, at 9:18 PM, Bob Ippolito wrote: > Here's a very recent, well written and pertinent article: > > http://boodebr.org/main/python/all-about-python-and-unicode > > -bob > ___ > Pythonmac-SIG maillist - Pythonmac

Re: [Pythonmac-SIG] [ann] PyOSA 0.1.0, Appscript Installer 1.5.1 released

2007-03-27 Thread Daniel Lord
John Gruber couldn't have put it any better: "Holy sh*t!" (http:// daringfireball.net/) The MacPython world became a much friendlier place today. Great work and thank you very much. On Mar 27, 2007, at 2:49, has wrote: Hi all, Announcing the first release of PyOSA, a new OSA language compone

Re: [Pythonmac-SIG] [ann] PyOSA 0.1.0, Appscript Installer 1.5.1 released

2007-03-27 Thread Daniel Lord
On Mar 27, 2007, at 9:35, Kevin Walzer wrote: Announcing the first release of PyOSA, a new OSA language component for Python. PyOSA allows you to write Python scripts in Script Editor and attach them to OSA-enabled applications such as Mail (Mail Rules), iTunes (Scripts menu) and System Eve

[Pythonmac-SIG] Interesting use of Python and Django on the Mac

2007-03-29 Thread Daniel Lord
This is the start of a trend we are going to see more and more of: the covergence of Web and Desktop or "Web-top". Dashboard/Konfabulator were the first big step, with Slingshot and Apollo the next big one. Granted this is pre-alpha code, but one can start imagining the possibilities. http:/

Re: [Pythonmac-SIG] StuffIt 10 can corrupt applications packaged with py2app

2007-04-25 Thread Daniel Lord
Shell script, Schmell script...do it in Python: I got this from someone somewhere long ago... import sys, os, os.path import commands if len(sys.argv) == 2: dir = sys.argv[1] print "Creating disk image %s.dmg" % (dir) status, output = commands.getstatusoutput("hdiutil create - v

[Pythonmac-SIG] Fwd: signal from itunes when song changes?

2007-05-09 Thread Daniel Lord
I forgot to copy the list ;-) Begin forwarded message: From: Daniel Lord <[EMAIL PROTECTED]> Date: May 9, 2007 10:30:41 PDT To: julien ricard <[EMAIL PROTECTED]> Subject: Re: [Pythonmac-SIG] signal from itunes when song changes? Growl does it, so there must be a way to regist

  1   2   >