Skip to content

Commit fa0aa36

Browse files
committed
BUILD: move original mtrand module to _mtrand
1 parent 5e03e1a commit fa0aa36

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ benchmarks/env
174174
benchmarks/numpy
175175
# cythonized files
176176
cythonize.dat
177-
numpy/random/_mtrand/mtrand.c
177+
numpy/random/_mtrand/_mtrand.c
178178
numpy/random/*.c
179179
numpy/random/legacy/*.c
180180
numpy/random/_mtrand/randint_helpers.pxi
File renamed without changes.

numpy/random/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def generate_libraries(ext, build_dir):
4848
# Configure mtrand
4949
config.add_extension('_mtrand',
5050
sources=[join('_mtrand', x) for x in
51-
['mtrand.c', 'randomkit.c', 'initarray.c',
51+
['_mtrand.c', 'randomkit.c', 'initarray.c',
5252
'distributions.c']]+[generate_libraries],
5353
libraries=libs,
5454
depends=[join('_mtrand', '*.h'),

0 commit comments

Comments
 (0)