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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Sat Sep 3 18:02:31 2005 UTC (18 years, 6 months ago) by dpavlin
File MIME type: text/x-python
File size: 475 byte(s)
import of hyper_estraier_wrappers-0.0.12.tar.gz

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