Skip to content

Commit 0797a8f

Browse files
committed
Add the csv data files into the package data discovery
1 parent 32545cb commit 0797a8f

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

MANIFEST.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ requires = ["setuptools>=61.0"]
55

66
# This is configuration specific to the `setuptools` build backend.
77
# If you are using a different build backend, you will need to change this.
8-
[tool.setuptools]
9-
# define all packages here
10-
packages = ['causalpy', 'causalpy.data']
11-
# include package data, such as .csv files
12-
include-package-data = true
8+
[tool.setuptools.packages.find]
9+
exclude = ["causalpy.test*", "docs*"]
10+
11+
[tool.setuptools.package-data]
12+
"causalpy.data" = ["*.csv"]
1313

1414
[project]
1515
name = "CausalPy"

0 commit comments

Comments
 (0)