Parent: [4ae53e] (diff)

Child: [0e7a78] (diff)

Download this file

setup.py    55 lines (51 with data), 2.6 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
from distutils.core import setup, Extension
module1 = Extension('recollq',
define_macros = [('MAJOR_VERSION', '1'),
('MINOR_VERSION', '0'),
('HAVE_MKDTEMP', '1'),
('HAVE_VASPRINTF', '1'),
('UNAC_VERSION', '"1.0.7"'),
('STATFS_INCLUDE', '"sys/mount.h"'),
('RECOLL_DATADIR',
'"/usr/local/share/recoll"')
],
include_dirs = ['/usr/local/include',
'../utils',
'../common',
'../rcldb',
'../query',
'../unac'
],
libraries = ['xapian', 'iconv'],
library_dirs = ['/usr/local/lib'],
sources = ['recoll_query.cpp',
'../common/rclinit.cpp',
'../common/rclconfig.cpp',
'../common/textsplit.cpp',
'../common/unacpp.cpp',
'../query/wasastringtoquery.cpp',
'../query/wasatorcl.cpp',
'../rcldb/rcldb.cpp',
'../rcldb/searchdata.cpp',
'../rcldb/stemdb.cpp',
'../rcldb/pathhash.cpp',
'../rcldb/stoplist.cpp',
'../unac/unac.c',
'../utils/base64.cpp',
'../utils/conftree.cpp',
'../utils/debuglog.cpp',
'../utils/readfile.cpp',
'../utils/md5.cpp',
'../utils/pathut.cpp',
'../utils/wipedir.cpp',
'../utils/smallut.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])