Skip to content

Commit

Permalink
ENH: supply our version of numpy.pxd, adjust as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Sep 3, 2019
1 parent e3f4c53 commit 2b250b0
Show file tree
Hide file tree
Showing 4 changed files with 987 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .lgtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ extraction:
index:
build_command:
- python3 setup.py build
after_prepare:
- pip3 install --upgrade --user cython
- export PATH="$HOME/.local/bin:$PATH"

queries:
- include: py/file-not-closed
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ include *.txt
include README.md
include site.cfg.example
recursive-include numpy/random *.pyx *.pxd *.pyx.in *.pxd.in
include numpy/__init__.pxd
# Add build support that should go in sdist, but not go in bdist/be installed
# Note that sub-directories that don't have __init__ are apparently not
# included by 'recursive-include', so list those separately
Expand Down
5 changes: 5 additions & 0 deletions doc/release/upcoming_changes/12284.new_feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

Add our own ``*.pxd`` cython import file
--------------------------------------------
Added a ``numpy/__init__.pxd`` file. It will be used for `cimport numpy`

Loading

0 comments on commit 2b250b0

Please sign in to comment.