From 4d960b11bf5bc608f3e99269b49e4cbc4f4dbd77 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Tue, 22 Oct 2024 16:24:13 -0400 Subject: [PATCH] fix: change `project.entry-points.console_scripts` to `project.scripts` in `pyproject.toml` `project.entry-points.console_scripts` is not allowed per [PEP 621](https://peps.python.org/pep-0621/). --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4bf2e64b..481e6864 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ Homepage = "https://github.com/deepmodeling/dpdata" documentation = "https://docs.deepmodeling.com/projects/dpdata" repository = "https://github.com/deepmodeling/dpdata" -[project.entry-points.console_scripts] +[project.scripts] dpdata = "dpdata.cli:dpdata_cli" [project.optional-dependencies]