From 431dec8b4b2d8c8c529e6dcea985d750004c0b4c Mon Sep 17 00:00:00 2001 From: James Lamb Date: Wed, 30 Dec 2020 22:01:00 -0600 Subject: [PATCH 1/3] remove docs from packages --- MANIFEST.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index cf6a1835433a4..2430f90eb4607 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -5,9 +5,6 @@ include README.md include setup.py include pyproject.toml -graft doc -prune doc/build - graft LICENSES graft pandas @@ -20,8 +17,10 @@ global-exclude *.gz global-exclude *.h5 global-exclude *.html global-exclude *.json +global-exclude *.pdf global-exclude *.pickle global-exclude *.png +global-exclude *.pptx global-exclude *.pyc global-exclude *.pyd global-exclude *.ods From 3aee9b9555677b03e4a2b30469d5aa34aa2b0070 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 1 Jan 2021 01:34:23 -0600 Subject: [PATCH 2/3] add changelog note --- doc/source/whatsnew/v1.3.0.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 931ec895cc73f..8048cc7822ddd 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -146,6 +146,11 @@ Other API changes - - +Build +===== + +- Documentation is no longer included in wheels or source distributions. (:issue:`30741`) + .. --------------------------------------------------------------------------- .. _whatsnew_130.deprecations: From 648187ae841da4244a2d096d118432a976d75e3d Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 29 Mar 2021 10:05:15 -0500 Subject: [PATCH 3/3] put docs back --- MANIFEST.in | 3 +++ doc/source/whatsnew/v1.3.0.rst | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 474c22232bdae..d0d93f2cdba8c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,8 @@ include RELEASE.md +graft doc +prune doc/build + graft LICENSES graft pandas diff --git a/doc/source/whatsnew/v1.3.0.rst b/doc/source/whatsnew/v1.3.0.rst index 48e950b794079..01cb39681c2c4 100644 --- a/doc/source/whatsnew/v1.3.0.rst +++ b/doc/source/whatsnew/v1.3.0.rst @@ -439,7 +439,7 @@ Other API changes Build ===== -- Documentation is no longer included in wheels or source distributions. (:issue:`30741`) +- Documentation in ``.pptx`` and ``.pdf`` formats are no longer included in wheels or source distributions. (:issue:`30741`) .. ---------------------------------------------------------------------------