Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 412145
Collapse All | Expand All

(-)scipy-0.10.1/scipy/spatial/setup.py (-3 / +3 lines)
Lines 16-22 def configuration(parent_package = '', t Link Here
16
                 'random.c', 'rboxlib.c', 'stat.c', 'user.c', 'usermem.c',
16
                 'random.c', 'rboxlib.c', 'stat.c', 'user.c', 'usermem.c',
17
                 'userprintf.c']
17
                 'userprintf.c']
18
18
19
    config.add_library('qhull',
19
    config.add_library('scipy_qhull',
20
                       sources=[join('qhull', 'src', x) for x in qhull_src],
20
                       sources=[join('qhull', 'src', x) for x in qhull_src],
21
                       include_dirs=[get_python_inc(),
21
                       include_dirs=[get_python_inc(),
22
                                     get_numpy_include_dirs()],
22
                                     get_numpy_include_dirs()],
Lines 26-34 def configuration(parent_package = '', t Link Here
26
26
27
    lapack = dict(get_info('lapack_opt'))
27
    lapack = dict(get_info('lapack_opt'))
28
    try:
28
    try:
29
        libs = ['qhull'] + lapack.pop('libraries')
29
        libs = ['scipy_qhull'] + lapack.pop('libraries')
30
    except KeyError:
30
    except KeyError:
31
        libs = ['qhull']
31
        libs = ['scipy_qhull']
32
    config.add_extension('qhull',
32
    config.add_extension('qhull',
33
                         sources=['qhull.c'],
33
                         sources=['qhull.c'],
34
                         libraries=libs,
34
                         libraries=libs,

Return to bug 412145