summaryrefslogtreecommitdiff
path: root/numpy/random/_examples
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2020-10-27 22:43:37 +0200
committermattip <matti.picus@gmail.com>2020-10-27 22:58:06 +0200
commit76d12d3fcabad0371b24753ba7d36ca5b1d61bcf (patch)
tree2cfc25f54e3e9dab18d289d4f4060ff2f55079cb /numpy/random/_examples
parenta8a3fdeec2c19a1ec776c3a33062502962e09cce (diff)
downloadnumpy-76d12d3fcabad0371b24753ba7d36ca5b1d61bcf.tar.gz
TST: simplify source path names in compilation test
Diffstat (limited to 'numpy/random/_examples')
-rw-r--r--numpy/random/_examples/cython/setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/random/_examples/cython/setup.py b/numpy/random/_examples/cython/setup.py
index 42425c2c1..83f06fde8 100644
--- a/numpy/random/_examples/cython/setup.py
+++ b/numpy/random/_examples/cython/setup.py
@@ -19,7 +19,7 @@ inc_path = np.get_include()
lib_path = join(np.get_include(), '..', '..', 'random', 'lib')
extending = Extension("extending",
- sources=[join(path, 'extending.pyx')],
+ sources=[join('.', 'extending.pyx')],
include_dirs=[
np.get_include(),
join(path, '..', '..')
@@ -27,7 +27,7 @@ extending = Extension("extending",
define_macros=defs,
)
distributions = Extension("extending_distributions",
- sources=[join(path, 'extending_distributions.pyx')],
+ sources=[join('.', 'extending_distributions.pyx')],
include_dirs=[inc_path],
library_dirs=[lib_path],
libraries=['npyrandom'],