Skip to content

Commit

Permalink
fix: change project.entry-points.console_scripts to `project.script…
Browse files Browse the repository at this point in the history
…s` in `pyproject.toml`

`project.entry-points.console_scripts` is not allowed per [PEP 621](https://peps.python.org/pep-0621/).
  • Loading branch information
njzjz authored Oct 22, 2024
1 parent d1f1b98 commit 4d960b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 4d960b1

Please sign in to comment.