[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/TextIndexNG - setup.py:1.1.2.1
Andreas Jung
andreas@digicool.com
Tue, 19 Feb 2002 18:42:33 -0500
Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/TextIndexNG
In directory cvs.zope.org:/tmp/cvs-serv22271
Added Files:
Tag: ajung-textindexng-branch
setup.py
Log Message:
added one setup file for all C extensions
=== Added File Zope/lib/python/Products/PluginIndexes/TextIndexNG/setup.py ===
#!/usr/bin/env python
from distutils.core import setup,Extension
setup(name = "TextIndexNGExtensions",
version = "0.10",
author = "Andreas Jung",
author_email = "andreas@andreas-jung.com",
ext_modules=[
Extension("normalizer",
[ "src/normalizer.c" ],
),
Extension("indexsupport",
[ "src/indexsupport.c" ],
),
Extension("Similarity",
[ "src/PySimilarity/src/Similarity.c",
"src/PySimilarity/src/metaphone.c",
"src/PySimilarity/src/soundex.c",
"src/PySimilarity/src/levenshtein.c", ],
),
Extension("Stemmer",
[ "src/PyStemmer/src/Stemmer.c",
"src/PyStemmer/french/frenchstem.c",
"src/PyStemmer/porter/porterstem.c",
"src/PyStemmer/german/germanstem.c",
"src/PyStemmer/dutch/dutchstem.c",
"src/PyStemmer/english/englishstem.c",
"src/PyStemmer/spanish/spanishstem.c",
"src/PyStemmer/italian/italianstem.c",
"src/PyStemmer/swedish/swedishstem.c",
"src/PyStemmer/portuguese/portuguesestem.c",
"src/PyStemmer/russian/russianstem.c",
"src/PyStemmer/danish/danishstem.c",
"src/PyStemmer/norwegian/norwegianstem.c",
"src/PyStemmer/q/api.c",
"src/PyStemmer/q/utilities.c" ],
include_dirs=['src/PyStemmer/q','.','src/PyStemmer']
),
]
)