From aebafa6e8c5d6dec230232140c856731c2363f44 Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Tue, 31 Jan 2023 15:12:51 -0700 Subject: [PATCH 1/3] [skip-ci] Include data folder --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a9044ec3..b902c528 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ build-backend = "setuptools.build_meta" [tool.setuptools] include-package-data = false -packages = ["cf_xarray", "cf_xarray.scripts"] +packages = ["cf_xarray", "cf_xarray.data", "cf_xarray.scripts"] [tool.setuptools.dynamic] version = {attr = "cf_xarray.__version__"} From f5abc19110a456ec803be69c317285ce4bdc432d Mon Sep 17 00:00:00 2001 From: dcherian Date: Tue, 31 Jan 2023 16:06:33 -0700 Subject: [PATCH 2/3] Fix --- MANIFEST.in | 18 ------------------ pyproject.toml | 4 +++- 2 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index d5d43acc..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,18 +0,0 @@ -graft cf_xarray/data -exclude cf_xarray/_version.py - -graft cf_xarray/scripts -prune ci -prune doc -prune cf_xarray/tests -prune *.egg-info -prune .binder/ -prune .github/ - -exclude CITATION.cff -exclude .deepsource.toml -exclude .tributors -exclude .zenodo.json -exclude *.yml -exclude *.yaml -exclude .gitignore diff --git a/pyproject.toml b/pyproject.toml index b902c528..6ad7ffb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,9 +40,11 @@ requires = [ build-backend = "setuptools.build_meta" [tool.setuptools] -include-package-data = false packages = ["cf_xarray", "cf_xarray.data", "cf_xarray.scripts"] +[tool.setuptools.exclude-package-data] +cf_xarray = ["tests/*"] + [tool.setuptools.dynamic] version = {attr = "cf_xarray.__version__"} From 4ce0a39a64b0ea766228b2de47faba22058d46dc Mon Sep 17 00:00:00 2001 From: dcherian Date: Tue, 31 Jan 2023 20:05:52 -0700 Subject: [PATCH 3/3] Add whats-new --- doc/whats-new.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index d2eb3620..b043f8cb 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -3,6 +3,11 @@ What's New ---------- +v0.7.9 (Jan 31, 2023) +===================== + +- Fix packaging of v0.7.8. That release was yanked off PyPI. + v0.7.8 (Jan 31, 2023) =====================