From cdbbe1b5c378ed0d418877c610d370617ae3eef6 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Tue, 22 Oct 2024 23:40:59 -0400 Subject: [PATCH] fix: change `project.entry-points.console_scripts` to `project.scripts` in `pyproject.toml` (#743) `project.entry-points.console_scripts` is not allowed per [PEP 621](https://peps.python.org/pep-0621/). ## Summary by CodeRabbit - **New Features** - Updated the command entry point for the `dpdata` tool for improved accessibility. - **Chores** - Organized optional dependencies for better clarity and management. - Maintained existing configurations for tools and package data without functional changes. --- 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]