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 Python files that try to generate the >> __ve

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Ronald Oussoren
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 Python files that try to generate the __version__ attribute with code instead, e.g.: __version__ = string.

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread eichin
> Not many people do the CVS thing these days, and that number is going > to get smaller and smaller since people are replacing CVS with > Subversion and others. svn propset svn:keywords 'id' filename (which is a default, I think, anyway - I don't think switching to subversion will make it *a

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Nicholas Riley
On Thu, May 26, 2005 at 10:52:05AM -0700, Bob Ippolito wrote: > There are still other places where you'll have version expressions. > > PyOpenGL's is the most braindead, it reads the version from *A FILE*. > > Many extensions bring in the version from some extension (i.e. PyObjC). > > I'd go ahe

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Bob Ippolito
On May 26, 2005, at 8:05 AM, Nicholas Riley wrote: > On Thu, May 26, 2005 at 10:54:59AM -0400, 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 Python files that try to ge

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Nicholas Riley
On Thu, May 26, 2005 at 10:54:59AM -0400, 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 Python files that try to generate the > __version__ attribute with code instead, e.

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Jonathan Wight
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 Python files that try to generate the __version__ attribute with code instead, e.g.: __version__ = string.split('$Revision: 1.8 $')[1] __version__ = '$Rev

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Gideon May
Jon, I have a number of python files with dos line ending (\r\n), which can't be parsed with the parser module. If you change the open call in importer.py in : theSource = file(inPath,'U').read() the line ending is translated into newline and the script is able to read them :) Cheers,

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 that my Python Metadata Impor

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-26 Thread Nicholas Riley
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_101_released/ Since I installed this I got a co

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://toxicsoftware.com/blog/index.php/weblog/ >> python_metadata_importer_101_r

Re: [Pythonmac-SIG] Python Metadata Importer

2005-05-25 Thread Bob Ippolito
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://toxicsoftware.com/blog/index.php/weblog/ > python_metadata_importer_101_released/ You could throw away like 95% of that code if you

[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

[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/