diff options
author | Robert Kern <robert.kern@gmail.com> | 2008-07-19 01:12:16 +0000 |
---|---|---|
committer | Robert Kern <robert.kern@gmail.com> | 2008-07-19 01:12:16 +0000 |
commit | c003f55e3068e99b174a3407aab0499662cdbfb2 (patch) | |
tree | 1d185f464f4db8e3286aa0f772e8666af8d87dd6 /numpy/random/setup.py | |
parent | f3bef65f681d7a845a699071a0b11f3e5d68fea5 (diff) | |
download | numpy-c003f55e3068e99b174a3407aab0499662cdbfb2.tar.gz |
Generate headers in the right place for inplace builds.
Diffstat (limited to 'numpy/random/setup.py')
-rw-r--r-- | numpy/random/setup.py | 6 |
1 files changed, 1 insertions, 5 deletions
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') |