Skip to content

Commit 2b250b0

Browse files
committed
ENH: supply our version of numpy.pxd, adjust as needed
1 parent e3f4c53 commit 2b250b0

File tree

4 files changed

+987
-0
lines changed

4 files changed

+987
-0
lines changed

.lgtm.yml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ extraction:
1616
index:
1717
build_command:
1818
- python3 setup.py build
19+
after_prepare:
20+
- pip3 install --upgrade --user cython
21+
- export PATH="$HOME/.local/bin:$PATH"
1922

2023
queries:
2124
- include: py/file-not-closed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ include *.txt
1010
include README.md
1111
include site.cfg.example
1212
recursive-include numpy/random *.pyx *.pxd *.pyx.in *.pxd.in
13+
include numpy/__init__.pxd
1314
# Add build support that should go in sdist, but not go in bdist/be installed
1415
# Note that sub-directories that don't have __init__ are apparently not
1516
# included by 'recursive-include', so list those separately
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
Add our own ``*.pxd`` cython import file
3+
--------------------------------------------
4+
Added a ``numpy/__init__.pxd`` file. It will be used for `cimport numpy`
5+

0 commit comments

Comments
 (0)