/[hyperestraier_wrappers]/trunk/setup.py
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/setup.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (hide annotations)
Sat Sep 3 18:04:41 2005 UTC (16 years, 1 month ago) by dpavlin
File MIME type: text/x-python
File size: 475 byte(s)
make working copy
1 dpavlin 1 from distutils.core import setup, Extension
2    
3     import os
4     import re
5    
6     def get_libs(cmdline):
7     s = os.popen(cmdline).read()
8     return re.findall(r'-l(\w+)', s)
9    
10     module1 = Extension(
11     '_HyperEstraier',
12     sources = ['HyperEstraier.i'],
13     libraries = get_libs('estconfig --libs') + ['stdc++'])
14    
15     setup(
16     name = 'HyperEstraier',
17     version = '0.01',
18     py_modules = ['HyperEstraier'],
19     description = 'Wrapper for Hyper Estraier, the full text search engine',
20     ext_modules = [module1,])
21    

  ViewVC Help
Powered by ViewVC 1.1.26