Parent: [459cb5] (diff)

Child: [b43d8f] (diff)

Download this file

setup.py    56 lines (52 with data), 2.7 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
from distutils.core import setup, Extension
top = '../../'
module1 = Extension('recollq',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0'),
('UNAC_VERSION', '"1.0.7"'),
('STATFS_INCLUDE', '"sys/mount.h"'),
('RECOLL_DATADIR',
'"/usr/local/share/recoll"')
],
include_dirs = ['/usr/local/include',
top + 'utils',
top + 'common',
top + 'rcldb',
top + 'query',
top + 'unac'
],
libraries = ['xapian', 'iconv'],
library_dirs = ['/usr/local/lib'],
sources = ['recoll_query.cpp',
top + 'common/rclconfig.cpp',
top + 'common/rclinit.cpp',
top + 'common/textsplit.cpp',
top + 'common/unacpp.cpp',
top + 'query/wasastringtoquery.cpp',
top + 'query/wasatorcl.cpp',
top + 'rcldb/pathhash.cpp',
top + 'rcldb/rcldb.cpp',
top + 'rcldb/rclquery.cpp',
top + 'rcldb/searchdata.cpp',
top + 'rcldb/stemdb.cpp',
top + 'rcldb/stoplist.cpp',
top + 'unac/unac.c',
top + 'utils/base64.cpp',
top + 'utils/conftree.cpp',
top + 'utils/debuglog.cpp',
top + 'utils/md5.cpp',
top + 'utils/pathut.cpp',
top + 'utils/readfile.cpp',
top + 'utils/smallut.cpp',
top + 'utils/transcode.cpp',
top + 'utils/wipedir.cpp'
])
setup (name = 'RecollQuery',
version = '1.0',
description = 'Enable querying a Recoll full text index',
author = 'J.F. Dockes',
author_email = 'jean-francois.dockes@wanadoo.fr',
long_description = '''
This is really just a demo package for now.
''',
ext_modules = [module1])