Re: [Pythonmac-SIG] Python 3.4.2 as default version

2014-11-26 Thread Jonathan Lundell
> On 26 Nov 2014, at 2:00 PM, Chris Barker wrote: > > On Wed, Nov 26, 2014 at 12:13 PM, Scott Clausen > wrote: > I’ve been searching the sites to find out how to set the latest version of > Python, 3.4.2, as the default version. So far I’ve not been able to do so. >

Re: [Pythonmac-SIG] (PyQt and py2app) Gui starts in IDLE but not as app ...

2012-05-03 Thread Jonathan Kossick
ld use the installed Qt version or the version includet in the application file. While research I read something about install_name_tool but I'm still not sure how to fix the problem. Hope you can help me ... Am Donnerstag, 3. Mai 2012 schrieb Ronald Oussoren : > > On 3 May, 201

[Pythonmac-SIG] (PyQt and py2app) Gui starts in IDLE but not as app ...

2012-05-03 Thread Jonathan Kossick
Hello, my problem is kind of weird. As long as I run my PyQt application in IDLE everything works great but when I build an app by using py2app the gui doesn' t start. I already did a little bit debugging but apparently the application crashes when I want do show the gui (main.show()). The applicat

[Pythonmac-SIG] py2app and zlib ...

2012-04-28 Thread Jonathan Kossick
Hello, I already worked with py2exe and just started to use py2app. Actually I have some problems to include the zlib library. Under py2exe I includet the library in the options but under Mac I get this error: error: cannot copy tree '/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7

[Pythonmac-SIG] Pyobjc python in objc

2006-07-04 Thread Jonathan
that mentions adding outlets and actions in a nib file adds them so that objc knows that they're there. (?)  The bundle loads and running NSLog(dir(theObject)) on the python side lists the method I'm trying to call from objc...  so I could easily be doing something wrong...

Re: [Pythonmac-SIG] Building universal PyOpenGL

2006-06-22 Thread Jonathan
appens when you build PyOpenGL for the system python? Thatwould help in finding out who to blame for this ;-) Ronald___Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig-- Jonathan Saggaujonathansaggau.com

[Pythonmac-SIG] Embedded Quartz Composer and cocoa notifications

2006-06-22 Thread Jonathan
        def applicationDidFinishLaunching_(self, notification):     self._observePatchController()    def applicationWillTerminate_(self, notification):    """Cleanup here"""    self._unobservePatchController()    self._unobserveApp()  ...I

Re: [Pythonmac-SIG] py2app question: path to included python

2006-06-07 Thread Jonathan
https://patrickkidd.com has wrappers for several audio libraries.Cheers, Jonathan Saggaujonathansaggau.comThis amusement engaged me so much that [friends] were obliged to force me from it; and thus it is with every inclination I give into, it continues to augment, till at length it becomes so

[Pythonmac-SIG] pyobjc objs is subclasses of them python objs

2006-06-07 Thread Jonathan Saggau
here foot outta mah mouth). I'm also wowed at how he managed to find my blog and comment before I got round to sending a question to the mailing lists. And ... well you know... he kicked my butt and I deserved it.Apologies and thanks to Bob.  Cheers,Jonathan Saggauhttp://jonathansaggau.com/blog/Thi

Re: [Pythonmac-SIG] Spotlight Importing without .py

2006-01-21 Thread Jonathan Wight
On Jan 21, 2006, at 2:01 AM, Nicholas Matsakis wrote: > http://www.apple.com/downloads/macosx/spotlight/ > pythonmetadataimporter.html > > I really dig the Spotlight Metadata Importer for python, but it > only works > for files ending in ".py" which excludes various shell scripts I have > writt

Re: [Pythonmac-SIG] Xcode build button disabled

2005-09-17 Thread Jonathan 'Wolf' Rentzsch
and curiouser. Thanks for the feedback. | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Xcode build button disabled

2005-09-17 Thread Jonathan 'Wolf' Rentzsch
anyone else run into this? Or better, has a fix? :-) | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" ___ Pythonmac-

Re: [Pythonmac-SIG] Xcode fixes

2005-07-03 Thread Jonathan 'Wolf' Rentzsch
redundant. | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Xcode fixes

2005-07-03 Thread Jonathan 'Wolf' Rentzsch
se). I want to make my text to make it look so easy to pick up PyObjC, that there's no reason not to :-) | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" _

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Jonathan Wight
On May 27, 2005, at 01:39, Ronald Oussoren wrote: > On 26-mei-2005, at 16:54, Jonathan Wight wrote: > >> After adding Gideon's suggestion for CRLF ending file. My importer is >> failing on only 8 files out of 3084 files. >> >> All the failures are with Py

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Jonathan Wight
: > On Thu, May 26, 2005 at 12:13:02AM -0400, Jonathan Wight wrote: > > >> Just to let everyone know that my Python Metadata Importer plug-in >> was released the other day. >> >> http://toxicsoftware.com/blog/index.php/weblog/ >> python_metadata_importer_1

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Jonathan Wight
Yeah I screwed up with the code that scans functions. There's a new version online now that fixes that. Jon. On May 26, 2005, at 09:37, Nicholas Riley wrote: > On Thu, May 26, 2005 at 12:13:02AM -0400, Jonathan Wight wrote: > > > >> Just to let everyone know

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Jonathan Wight
On May 26, 2005, at 00:38, Bob Ippolito wrote: > On May 25, 2005, at 9:13 PM, Jonathan Wight wrote: > > >> Just to let everyone know that my Python Metadata Importer plug-in >> was released the other day. >> >> http://toxics

[Pythonmac-SIG] Python Metadata Importer

2005-05-25 Thread Jonathan Wight
Just to let everyone know that my Python Metadata Importer plug-in was released the other day. http://toxicsoftware.com/blog/index.php/weblog/ python_metadata_importer_101_released/ I decided to change the license to BSD after Bob and co brought up some good points, so now anyone can us

Re: [Pythonmac-SIG] Free Python code and Licenses

2005-05-20 Thread Jonathan Wight
On May 20, 2005, at 03:00, Bob Ippolito wrote: >> Does it allow the _creation_ of custom metadata tags on files? Or are >> we restricted to the ones defined by Apple? >> >> > > Metadata importers can define whatever key/value pairs they want to. > Only certain keys are used intelligently by Appl

Re: [Pythonmac-SIG] ANN: Python Metadata Importer

2005-05-19 Thread Jonathan Wight
On May 19, 2005, at 13:48, Bob Ippolito wrote: > > On May 19, 2005, at 1:32 PM, Ronald Oussoren wrote: > > >> On 19-mei-2005, at 17:49, Jonathan Wight wrote: >> >> >> >>> And again with long URLs fixed ;-) >>> >>> I released the co

Re: [Pythonmac-SIG] ANN: Python Metadata Importer

2005-05-19 Thread Jonathan Wight
On May 19, 2005, at 13:32, Ronald Oussoren wrote: > On 19-mei-2005, at 17:49, Jonathan Wight wrote: > > >> And again with long URLs fixed ;-) >> >> I released the code under the GPL >> >> > Why GPL? > Why not? Suggest something different. >>

[Pythonmac-SIG] ANN: Python Metadata Importer

2005-05-19 Thread Jonathan Wight
And again with long URLs fixed ;-) I released the code under the GPL - with minor modifications to the code I think anyone should be able to create Spotlight Importers using python (without depending on PyObjC)... - Version 0.9 (everything done exception final documentation tidy-up) is onlin

[Pythonmac-SIG] Python Metadata Importer

2005-05-18 Thread Jonathan Wight
Version 0.9 (everything done exception final documentation tidy-up) is online at: http://svn.toxicsoftware.com/svn/toxic_public/trunk/Freeware/Python% 20Metadata%20Importer/Releases/Python%20Metadata%20Importer.dmg Source is available from: http://svn.toxicsoftware.com/svn/toxic_public/trunk/

Re: [Pythonmac-SIG] [Pythonmac-SIG] Spotlight and Python

2005-05-12 Thread Jonathan Wight
Jon. On May 11, 2005, at 02:28, Jonathan Wight wrote: > OK. The first version is online at: > > http://toxicsoftware.com/_private/Python%20Metadata%20Importer.pkg.zip > > The installer installs the mdimporter to /Library/Spotlight/ and then > calls mdimport -r to force Spot

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-11 Thread Jonathan Wight
For me it worked: "org_python_functions" = ("get_bits", "set_lsb", "get_lsb", "value_from_bits"); But then I just made a new BBEdit Bits.py file and pasted your code into it. The importer does seem to be crashing, but I'm not sure whether the python or the ObjC is dying. Is there a cr

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-11 Thread Jonathan Wight
On May 11, 2005, at 10:51, David Reed wrote: > Also, how do you uninstall your plugin? Remove "Python Metadata Importer.mdimporter" from /Library/Spotlight ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-11 Thread Jonathan Wight
On May 11, 2005, at 11:16, Schollnick, Benjamin wrote: >>> had time to index my drive by now. It does seem to have indexed >>> files that are part of python packages but it hasn't index Python >>> files in my home directory and subdirectories. Is it >>> >> skipping these >> >>> on purpose or does

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-11 Thread Jonathan Wight
It is entirely possible I screwed something up and that it doesn't work on anything other than my Powerbook ;-) However: As the last part of the install process the installer kicks off a script to reindex the Python files on the hard drive. This could be failing. To manually reindex runt th

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread Jonathan Wight
OK. The first version is online at: http://toxicsoftware.com/_private/Python%20Metadata%20Importer.pkg.zip The installer installs the mdimporter to /Library/Spotlight/ and then calls mdimport -r to force Spotlight to reindex all Python files. You _may_ need Xcode installed to have this work su

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread Jonathan Wight
py').read() ast = parser.suite(theSource) tup = ast.totuple() print find(tup, symbol.classdef) print find(tup, symbol.funcdef) On May 10, 2005, at 21:52, Bob Ippolito wrote: > > On May 10, 2005, at 8:52 PM, Jonathan Wight wrote: > > >> I've made a first pass at it and have a

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread Jonathan Wight
information from Python script files? Jon. On May 10, 2005, at 16:58, Jonathan Wight wrote: > I'll have a play with it later today. I don't think it should be too > difficult at all. > > Jon. > > On May 10, 2005, at 16:22, David Reed wrote: > > > &

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread Jonathan Wight
I'll have a play with it later today. I don't think it should be too difficult at all. Jon. On May 10, 2005, at 16:22, David Reed wrote: > I don't think I'd want all variables/symbols to be indexed, but I > think function and class names might be nice and adding the > documentation strin

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread Jonathan Wight
On May 10, 2005, at 14:49, David Reed wrote: > I've looked at the example at: > > http://developer.apple.com/documentation/Carbon/Conceptual/ > MDImporters/Concepts/WritingAnImp.html#//apple_ref/doc/uid/ > TP40001275-CJBEJBHH > > I don't yet understand what NSDictionary tempDict contains after i

Re: [Pythonmac-SIG] Spotlight and Python

2005-05-10 Thread Jonathan Wight
It's certainly a good idea. Writing a Spotlight plug-in is extremely straight forward - just fire up Xcode 2 and create a new "Metadata Importer" project. You just have one function that you need to provide: Boolean GetMetadataForFile(void* thisInterface, CFMutableDictionaryRe

[Pythonmac-SIG] bdist_mpkg with C sources

2005-04-05 Thread Jonathan Peirce
I'm wanting to make a mac installer for a python library I maintain that contains some C extensions and I'm not clear how to go about it since setup for bdist_mpkg doesn't accept ext_module. Does anyone have a simple-ish example of how to do this? Or will it be that bdist_mpkg will one day just a