Skip to content

Commit a38888c

Browse files
committed
MAINT: Move doc/swig to tools/swig.
Also update MANIFEST.in and documentation to reflect the move. The discussion of this change is at numpy#2384. Closes numpy#2384. Closes numpy#4374.
1 parent 4fd4850 commit a38888c

38 files changed

+5
-5
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include doc/Makefile doc/postprocess.py
1919
recursive-include doc/release *
2020
recursive-include doc/source *
2121
recursive-include doc/sphinxext *
22-
recursive-include doc/swig *
22+
recursive-include tools/swig *
2323
recursive-include doc/scipy-sphinx-theme *
2424
recursive-include doc/f2py *
2525

doc/source/user/c-info.python-as-glue.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,7 @@ Simplified Wrapper and Interface Generator (SWIG) is an old and fairly
13851385
stable method for wrapping C/C++-libraries to a large variety of other
13861386
languages. It does not specifically understand NumPy arrays but can be
13871387
made useable with NumPy through the use of typemaps. There are some
1388-
sample typemaps in the numpy/doc/swig directory under numpy.i along
1388+
sample typemaps in the numpy/tools/swig directory under numpy.i together
13891389
with an example module that makes use of them. SWIG excels at wrapping
13901390
large C/C++ libraries because it can (almost) parse their headers and
13911391
auto-produce an interface. Technically, you need to generate a ``.i``
File renamed without changes.

doc/swig/README tools/swig/README

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Notes for the numpy/doc/swig directory
2-
======================================
1+
Notes for the numpy/tools/swig directory
2+
========================================
33

44
This set of files is for developing and testing file numpy.i, which is
55
intended to be a set of typemaps for helping SWIG interface between C
@@ -10,7 +10,7 @@ distribution.
1010
Documentation
1111
-------------
1212
Documentation for how to use numpy.i, as well as for the testing
13-
system used here, can be found in the NumPy reference guide.
13+
system used here, can be found in the NumPy reference guide.
1414

1515
Testing
1616
-------
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)