From 6e1faa7d5116268b60526f596b0816af5a7d8325 Mon Sep 17 00:00:00 2001 From: Nabil Freij Date: Tue, 22 Oct 2019 13:10:50 +0000 Subject: [PATCH 1/4] Fixed package --- MANIFEST.in | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index abbf02045..c2cefc6c5 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,13 +1,36 @@ -# All files in ndcube/ should be included in package_data in setup.cfg +# All files in sunpy/ should be included in package_data in setup.cfg include ah_bootstrap.py include CHANGELOG.rst include LICENSE.rst -include licenses/*.rst include pyproject.toml include README.rst include RELEASE.rst include setup.py include setup.cfg -recursive-include astropy_helpers * -exclude astropy_helpers/.* +# Include whole folders outside of sunpy/ +recursive-include docs * +recursive-include examples * +recursive-include licenses * + +# Remove built folders +prune build +prune docs/_build +prune docs/api + +# Astropy Helpers +include astropy_helpers/README.rst +include astropy_helpers/CHANGES.rst +include astropy_helpers/LICENSE.rst +recursive-include astropy_helpers/licenses * + +include astropy_helpers/ah_bootstrap.py + +recursive-include astropy_helpers/astropy_helpers *.py *.pyx *.c *.h *.rst +recursive-include astropy_helpers/astropy_helpers.egg-info * + +prune astropy_helpers/build +prune astropy_helpers/astropy_helpers/tests + +# Globally exclude compiled files +global-exclude *.pyc *.o From dc441a39d415ab3d8002853d79315c4e9fedbc18 Mon Sep 17 00:00:00 2001 From: Nabil Freij Date: Tue, 22 Oct 2019 13:13:36 +0000 Subject: [PATCH 2/4] Update MANIFEST.in --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index c2cefc6c5..95cbcf0ad 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ -# All files in sunpy/ should be included in package_data in setup.cfg +# All files in ndcube/ should be included in package_data in setup.cfg include ah_bootstrap.py include CHANGELOG.rst include LICENSE.rst From b557286d37736acd013f3de0c2526f1504a26e13 Mon Sep 17 00:00:00 2001 From: Nabil Freij Date: Tue, 22 Oct 2019 13:14:43 +0000 Subject: [PATCH 3/4] Update MANIFEST.in --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 95cbcf0ad..29d30736c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -8,7 +8,7 @@ include RELEASE.rst include setup.py include setup.cfg -# Include whole folders outside of sunpy/ +# Include whole folders outside of ndcube/ recursive-include docs * recursive-include examples * recursive-include licenses * From 3d09541ff5c70f1cf0f59a6890dc1e8d8e6bc802 Mon Sep 17 00:00:00 2001 From: Stuart Mumford Date: Tue, 22 Oct 2019 13:25:30 +0000 Subject: [PATCH 4/4] Add changelog --- changelog/212.bugfix.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog/212.bugfix.rst diff --git a/changelog/212.bugfix.rst b/changelog/212.bugfix.rst new file mode 100644 index 000000000..f806def3e --- /dev/null +++ b/changelog/212.bugfix.rst @@ -0,0 +1 @@ +Fixed the files included and excluded from the tarball.