|
a/src/python/recoll/setup.py |
|
b/src/python/recoll/setup.py |
1 |
from distutils.core import setup, Extension
|
1 |
from distutils.core import setup, Extension
|
2 |
top = '../../'
|
2 |
top = '../../'
|
3 |
|
3 |
|
4 |
module1 = Extension('recollq',
|
4 |
module1 = Extension('recoll',
|
5 |
define_macros = [('MAJOR_VERSION', '1'),
|
5 |
define_macros = [('MAJOR_VERSION', '1'),
|
6 |
('MINOR_VERSION', '0'),
|
6 |
('MINOR_VERSION', '0'),
|
7 |
('UNAC_VERSION', '"1.0.7"'),
|
7 |
('UNAC_VERSION', '"1.0.7"'),
|
8 |
('STATFS_INCLUDE', '"sys/mount.h"'),
|
8 |
('STATFS_INCLUDE', '"sys/mount.h"'),
|
9 |
('RECOLL_DATADIR',
|
9 |
('RECOLL_DATADIR',
|
|
... |
|
... |
16 |
top + 'query',
|
16 |
top + 'query',
|
17 |
top + 'unac'
|
17 |
top + 'unac'
|
18 |
],
|
18 |
],
|
19 |
libraries = ['xapian', 'iconv'],
|
19 |
libraries = ['xapian', 'iconv'],
|
20 |
library_dirs = ['/usr/local/lib'],
|
20 |
library_dirs = ['/usr/local/lib'],
|
21 |
sources = ['recoll_query.cpp',
|
21 |
sources = ['pyrecoll.cpp',
|
22 |
top + 'common/rclconfig.cpp',
|
22 |
top + 'common/rclconfig.cpp',
|
23 |
top + 'common/rclinit.cpp',
|
23 |
top + 'common/rclinit.cpp',
|
24 |
top + 'common/textsplit.cpp',
|
24 |
top + 'common/textsplit.cpp',
|
25 |
top + 'common/unacpp.cpp',
|
25 |
top + 'common/unacpp.cpp',
|
26 |
top + 'query/wasastringtoquery.cpp',
|
26 |
top + 'query/wasastringtoquery.cpp',
|
|
... |
|
... |
41 |
top + 'utils/smallut.cpp',
|
41 |
top + 'utils/smallut.cpp',
|
42 |
top + 'utils/transcode.cpp',
|
42 |
top + 'utils/transcode.cpp',
|
43 |
top + 'utils/wipedir.cpp'
|
43 |
top + 'utils/wipedir.cpp'
|
44 |
])
|
44 |
])
|
45 |
|
45 |
|
46 |
|
|
|
47 |
setup (name = 'RecollQuery',
|
46 |
setup (name = 'Recoll',
|
48 |
version = '1.0',
|
47 |
version = '1.0',
|
49 |
description = 'Enable querying a Recoll full text index',
|
48 |
description = 'Query/Augment a Recoll full text index',
|
50 |
author = 'J.F. Dockes',
|
49 |
author = 'J.F. Dockes',
|
51 |
author_email = 'jean-francois.dockes@wanadoo.fr',
|
50 |
author_email = 'jean-francois.dockes@wanadoo.fr',
|
52 |
long_description = '''
|
51 |
long_description = '''
|
53 |
This is really just a demo package for now.
|
|
|
54 |
''',
|
52 |
''',
|
55 |
ext_modules = [module1])
|
53 |
ext_modules = [module1])
|