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` (#743)

`project.entry-points.console_scripts` is not allowed per [PEP
621](https://peps.python.org/pep-0621/).

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
njzjz authored Oct 23, 2024
1 parent d1f1b98 commit cdbbe1b
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 cdbbe1b

Please sign in to comment.