[Zope-Checkins] CVS: Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter - Setup: __init__.py:

Andreas Jung andreas@zope.com
Tue, 7 Aug 2001 15:34:18 -0400

Update of /cvs-repository/Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter
In directory cvs.zope.org:/tmp/cvs-serv2823/ISO_8859_1_Splitter

Modified Files:
      Tag: Zope-2_4-branch
	Setup __init__.py 
Log Message:
Complete splitter interface reworked to make MacOsX happy:

- every Splitter is now a package and defines a Splitter()
  function visible to Python

- the C implementation of every splitter has been removed to 
  <XXXX>Splitter.c where <XXXX> is the specific name of the splitter

- the internal Splitter() function has been renamed to <XXXX>Splitter()

- The __init__.py of every Splitter package imports the right functiion
  from the module and creates an alias to 'Splitter' using 
  'from ... import .. as Splitter'

=== Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/Setup 1.2 => ===
-Splitter src/Splitter.c
+ISO_8859_1_Splitter src/ISO_8859_1_Splitter.c

=== Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/__init__.py 1.2 => ===
+from ISO_8859_1_Splitter import ISO_8859_1_Splitter as Splitter