From 0797a8fb3378366e6d329936087974901c75f0e0 Mon Sep 17 00:00:00 2001 From: lucianopaz Date: Wed, 7 Jun 2023 21:57:37 +0200 Subject: [PATCH 1/2] Add the csv data files into the package data discovery --- MANIFEST.in | 1 - pyproject.toml | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index cc06feda..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1 +0,0 @@ -include data/*.csv diff --git a/pyproject.toml b/pyproject.toml index 0fe406c1..662ec608 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,11 +5,11 @@ requires = ["setuptools>=61.0"] # This is configuration specific to the `setuptools` build backend. # If you are using a different build backend, you will need to change this. -[tool.setuptools] -# define all packages here -packages = ['causalpy', 'causalpy.data'] -# include package data, such as .csv files -include-package-data = true +[tool.setuptools.packages.find] +exclude = ["causalpy.test*", "docs*"] + +[tool.setuptools.package-data] +"causalpy.data" = ["*.csv"] [project] name = "CausalPy" From 070f52a821c52f551129555d331201527865f12b Mon Sep 17 00:00:00 2001 From: lucianopaz Date: Thu, 8 Jun 2023 06:21:55 +0200 Subject: [PATCH 2/2] Run interrogate --- docs/source/_static/interrogate_badge.svg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/_static/interrogate_badge.svg b/docs/source/_static/interrogate_badge.svg index 63e5eda8..aab38d3f 100644 --- a/docs/source/_static/interrogate_badge.svg +++ b/docs/source/_static/interrogate_badge.svg @@ -1,5 +1,5 @@ - interrogate: 51.6% + interrogate: 53.0% @@ -12,8 +12,8 @@ interrogate interrogate - 51.6% - 51.6% + 53.0% + 53.0%