summaryrefslogtreecommitdiff
path: root/MANIFEST.in
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2018-09-02 19:10:15 -0700
committerRalf Gommers <ralf.gommers@gmail.com>2018-09-02 21:47:41 -0700
commit728e44e7803b8e482b8ace6d5665ec90049d7c5a (patch)
tree0dd8ebd8298bdbd02d0d7df667c12c8dc0a38542 /MANIFEST.in
parent70450337f35e0a61d654c65b42f311db74df721f (diff)
downloadnumpy-728e44e7803b8e482b8ace6d5665ec90049d7c5a.tar.gz
MAINT: include benchmarks, complete docs, dev tool files in sdist.
Diffstat (limited to 'MANIFEST.in')
-rw-r--r--MANIFEST.in31
1 files changed, 19 insertions, 12 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index 918e59e85..e15e0e58a 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,7 +1,8 @@
#
# Use .add_data_files and .add_data_dir methods in a appropriate
# setup.py files to include non-python files such as documentation,
-# data, etc files to distribution. Avoid using MANIFEST.in for that.
+# data, etc files to distribution (*for installation*).
+# Avoid using MANIFEST.in for that.
#
include MANIFEST.in
include pytest.ini
@@ -12,21 +13,27 @@ recursive-include numpy/random/mtrand *.pyx *.pxd
# Add build support that should go in sdist, but not go in bdist/be installed
recursive-include numpy/_build_utils *
recursive-include numpy/linalg/lapack_lite *.c *.h
-include tox.ini
+include runtests.py
+include tox.ini pytest.ini .coveragerc
+recursive-include tools *
# Add sdist files whose use depends on local configuration.
include numpy/core/src/common/cblasfuncs.c
include numpy/core/src/common/python_xerbla.c
# Adding scons build related files not found by distutils
recursive-include numpy/core/code_generators *.py *.txt
recursive-include numpy/core *.in *.h
-# Add documentation: we don't use add_data_dir since we do not want to include
-# this at installation, only for sdist-generated tarballs
-include doc/Makefile doc/postprocess.py
-recursive-include doc/release *
-recursive-include doc/source *
-recursive-include doc/sphinxext *
-recursive-include tools/allocation_tracking *
-recursive-include tools/swig *
-recursive-include doc/scipy-sphinx-theme *
-
+# Add documentation and benchmarks: we don't use add_data_dir since we do not
+# want to include this at installation, only for sdist-generated tarballs
+# Docs:
+recursive-include doc *
+prune doc/build
+prune doc/source/generated
+# Benchmarks:
+recursive-include benchmarks *
+prune benchmarks/env
+prune benchmarks/results
+prune benchmarks/html
+prune benchmarks/numpy
+# Exclude generated files
+prune */__pycache__
global-exclude *.pyc *.pyo *.pyd *.swp *.bak *~