/[hyperestraier_wrappers]/0.0.13/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 /0.0.13/setup.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14 - (hide annotations)
Fri Sep 9 15:26:39 2005 UTC (13 years, 10 months ago) by dpavlin
File MIME type: text/x-python
File size: 475 byte(s)
import of 0.0.13
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