From 47e4bfcc166c04db60c9b5feea409012c491357a Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Tue, 31 Jan 2023 20:10:19 -0700 Subject: [PATCH] [skip-ci] Include data folder (#416) * [skip-ci] Include data folder * Fix * Add whats-new --- MANIFEST.in | 18 ------------------ doc/whats-new.rst | 5 +++++ pyproject.toml | 6 ++++-- 3 files changed, 9 insertions(+), 20 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/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) ===================== diff --git a/pyproject.toml b/pyproject.toml index a9044ec3..6ad7ffb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,8 +40,10 @@ requires = [ 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.exclude-package-data] +cf_xarray = ["tests/*"] [tool.setuptools.dynamic] version = {attr = "cf_xarray.__version__"}