From 605df2ca192434bcaeb2c3064155c77d49bd304c Mon Sep 17 00:00:00 2001 From: "Haoyu (Daniel)" Date: Wed, 18 Sep 2024 22:27:08 +0800 Subject: [PATCH] experimented with setuptools-scm, but no luck to exclude file --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b50c0871be1..ae8791a86ce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -130,8 +130,8 @@ feff_plot_cross_section = "pymatgen.cli.feff_plot_cross_section:main" feff_plot_dos = "pymatgen.cli.feff_plot_dos:main" get_environment = "pymatgen.cli.get_environment:main" -[tool.setuptools] -include-package-data = true +[tool.setuptools.package-data] + "*" = ["*", ] # include everything under src/ dir as data files [tool.setuptools.packages.find] where = ["src"]