Re: [Pythonmac-SIG] Spotlight and Python

2005-05-11 Thread David Reed
On May 11, 2005, at 2:12 PM, Jonathan Wight wrote: > 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'

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 David Reed
On May 11, 2005, at 11:06 AM, Jonathan Wight wrote: > 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 th

Re: [Pythonmac-SIG] (no subject)

2005-05-11 Thread Bob Ippolito
On May 11, 2005, at 10:34 AM, [EMAIL PROTECTED] wrote: > On May 10, 2005, at 19:21, Bob Ippolito wrote: > >> A system administrator should never, ever, be setting PYTHONPATH. >> > > Most of the Unix machines I have worked on have PYTHONPATH set > globally > to something. I suppose the administra

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 Schollnick, Benjamin
Jon, One important issue... > > 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 it somehow not realize they

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-11 Thread David Reed
On May 11, 2005, at 2:28 AM, 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 Spotlight to reindex all Pyt

Re: [Pythonmac-SIG] (no subject)

2005-05-11 Thread konrad . hinsen
On May 10, 2005, at 19:21, Bob Ippolito wrote: >> My particularly good reason is that I set PYTHONPATH differently in >> different shell environments for testing purposes. Changing links and >> path >> files is a lot more work. > > I use different checkouts (or python interpreters) for different