From c003f55e3068e99b174a3407aab0499662cdbfb2 Mon Sep 17 00:00:00 2001 From: Robert Kern Date: Sat, 19 Jul 2008 01:12:16 +0000 Subject: Generate headers in the right place for inplace builds. --- numpy/random/setup.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'numpy/random/setup.py') diff --git a/numpy/random/setup.py b/numpy/random/setup.py index 104a7986a..6ec65ee19 100644 --- a/numpy/random/setup.py +++ b/numpy/random/setup.py @@ -6,11 +6,7 @@ def configuration(parent_package='',top_path=None): def generate_libraries(ext, build_dir): config_cmd = config.get_config_cmd() - if top_path is None: - libs = get_mathlibs() - else: - path = join(split(build_dir)[0],'core') - libs = get_mathlibs(path) + libs = get_mathlibs() tc = testcode_wincrypt() if config_cmd.try_run(tc): libs.append('Advapi32') -- cgit v1.2.1