summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index d7fa3f544..6680e3b6a 100755
--- a/setup.py
+++ b/setup.py
@@ -225,10 +225,10 @@ class sdist_checked(sdist):
def generate_cython():
cwd = os.path.abspath(os.path.dirname(__file__))
print("Cythonizing sources")
- for d in ('mtrand', 'randomgen', 'randomgen/legacy'):
+ for d in ('random/_mtrand', 'random'):
p = subprocess.call([sys.executable,
os.path.join(cwd, 'tools', 'cythonize.py'),
- 'numpy/random/{0}'.format(d)],
+ 'numpy/{0}'.format(d)],
cwd=cwd)
if p != 0:
raise RuntimeError("Running cythonize failed!")