diff options
author | David Cournapeau <cournape@gmail.com> | 2009-12-12 09:15:51 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-12-12 09:15:51 +0000 |
commit | bfdb22a137e7ed2a8061b38f7da734f8e60101b0 (patch) | |
tree | 3a3a417847768cd77a1e702c81ea777cd2dac08a /numpy/core/setup.py | |
parent | 9a32a8d6821bec385cb572fec8f71beab136d3d5 (diff) | |
download | numpy-bfdb22a137e7ed2a8061b38f7da734f8e60101b0.tar.gz |
BUG: fix #1273: npy-pkg-info files did not work for eggs.
We use the pkgdir variable which is automatically translate at runtime.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 4981702de..66b6bffef 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -655,7 +655,7 @@ def configuration(parent_package='',top_path=None): # explicitly add an extension which has generate_config_h and # generate_numpyconfig_h as sources *before* adding npymath. - subst_dict = dict([("sep", os.path.sep)]) + subst_dict = dict([("sep", os.path.sep), ("pkgname", "numpy.core")]) def get_mathlib_info(*args): # Another ugly hack: the mathlib info is known once build_src is run, # but we cannot use add_installed_pkg_config here either, so we only |