Switch to unified view

a/src/python/recoll/setup.py.in b/src/python/recoll/setup.py.in
...
...
5
sysname = os.uname()[0]
5
sysname = os.uname()[0]
6
top = os.path.join('..', '..')
6
top = os.path.join('..', '..')
7
7
8
library_dirs = [os.path.join(top, 'lib')]
8
library_dirs = [os.path.join(top, 'lib')]
9
libraries = ['recoll']
9
libraries = ['recoll']
10
runtime_library_dirs = []
11
try:
10
runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')]
12
    runtime_library_dirs = [os.path.join(os.environ['libdir'], 'recoll')]
13
except:
14
    pass
11
15
12
# Verify that the Recoll library was compiled with the PIC options
16
# Verify that the Recoll library was compiled with the PIC options
13
localdefs = os.path.join(top, 'mk', 'localdefs')
17
localdefs = os.path.join(top, 'mk', 'localdefs')
14
try:
18
try:
15
    lines = open(localdefs, 'r').readlines()
19
    lines = open(localdefs, 'r').readlines()