summaryrefslogtreecommitdiff
path: root/numpy/random/examples/numba/extending_distributions.py
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2019-05-24 21:19:11 +0100
committermattip <matti.picus@gmail.com>2019-05-27 22:58:35 +0300
commit23853d65e5c31f182a405427f580123f214e386e (patch)
tree8221947b3e5cc539fa4b1b30c88041f1ad93655e /numpy/random/examples/numba/extending_distributions.py
parent58c0e72854c3f79d3d165d74f2dc721815a38b57 (diff)
downloadnumpy-23853d65e5c31f182a405427f580123f214e386e.tar.gz
STY: Clean up code
Pep8 fixes Remove unused imports Fix name error
Diffstat (limited to 'numpy/random/examples/numba/extending_distributions.py')
-rw-r--r--numpy/random/examples/numba/extending_distributions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/random/examples/numba/extending_distributions.py b/numpy/random/examples/numba/extending_distributions.py
index f1f9003a9..1172e51de 100644
--- a/numpy/random/examples/numba/extending_distributions.py
+++ b/numpy/random/examples/numba/extending_distributions.py
@@ -5,7 +5,8 @@ export PYTHON_INCLUDE=#path to Python's include folder, usually \
${PYTHON_HOME}/include/python${PYTHON_VERSION}m
export NUMPY_INCLUDE=#path to numpy's include folder, usually \
${PYTHON_HOME}/lib/python${PYTHON_VERSION}/site-packages/numpy/core/include
-gcc -shared -o libdistributions.so -fPIC distributions.c -I${NUMPY_INCLUDE} -I${PYTHON_INCLUDE}
+gcc -shared -o libdistributions.so -fPIC distributions.c \
+ -I${NUMPY_INCLUDE} -I${PYTHON_INCLUDE}
mv libdistributions.so ../../examples/numba/
On Windows