From d80cc41fa428309b6962843c34d4bf3d94c549a6 Mon Sep 17 00:00:00 2001 From: Cunliang Geng Date: Wed, 22 Jan 2025 16:34:43 +0100 Subject: [PATCH] move config template file outside of src folder --- {src/nplinker/data => config}/nplinker.toml | 0 docs/concepts/config_file.md | 2 +- pyproject.toml | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) rename {src/nplinker/data => config}/nplinker.toml (100%) diff --git a/src/nplinker/data/nplinker.toml b/config/nplinker.toml similarity index 100% rename from src/nplinker/data/nplinker.toml rename to config/nplinker.toml diff --git a/docs/concepts/config_file.md b/docs/concepts/config_file.md index e2f74ffc..f922312b 100644 --- a/docs/concepts/config_file.md +++ b/docs/concepts/config_file.md @@ -1,7 +1,7 @@ ## Configuration Template ```toml ---8<-- "src/nplinker/data/nplinker.toml" +--8<-- "config/nplinker.toml" ``` ## Example Configuration diff --git a/pyproject.toml b/pyproject.toml index c51d5756..fa846543 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,9 +84,7 @@ where = ["src"] namespaces = true # enable data directory to be identified [tool.setuptools.package-data] -"nplinker.data" = ["*"] "nplinker.schemas" = ["*"] -"nplinker" = ["nplinker_default.toml"] [tool.pytest.ini_options] minversion = "6.0"