summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/build_py.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/command/build_py.py')
-rw-r--r--numpy/distutils/command/build_py.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/command/build_py.py b/numpy/distutils/command/build_py.py
index ab5bd8531..8db743542 100644
--- a/numpy/distutils/command/build_py.py
+++ b/numpy/distutils/command/build_py.py
@@ -8,6 +8,7 @@ class build_py(old_build_py):
# Find build_src generated *.py files.
build_src = self.get_finalized_command('build_src')
- modules += build_src.py_modules.get(package,[])
+ modules += build_src.py_modules_dict.get(package,[])
return modules
+