Skip to content

Commit

Permalink
Add scripts section to pyproject.toml
Browse files Browse the repository at this point in the history
When I converted Manifester to pyproject.toml, I did not include a
`project.scripts` section. As a result, an executable for the Manifester
CLI is not installed when the Manifester package is installed. This PR
adds a `project.scripts` section to pyproject.toml so the Manifester CLI
is easily accessible.
  • Loading branch information
synkd committed Jun 4, 2024
1 parent 2f9263e commit 04815ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ setup = [
"twine",
]

[project.scripts]
manifester = "manifester.commands:cli"

[tools.setuptools]
platforms = ["any"]
zip-safe = false
Expand Down

0 comments on commit 04815ea

Please sign in to comment.