RFE: package scripts as executables in pyproject.toml #1

Open
opened 2023-08-21 18:05:33 +00:00 by neil · 0 comments
Owner

Preliminary questions

  • Is there already a PR open for this? - No
  • Have you ensured that this feature is not already included? - yes

Is this RFE related to a problem or a bug? Describe and reference it below.

pv2 should export scripts so that, when installed, users can invoke them from their path

What is your proposed idea or solution?
add a tools.poetry.script section to pyproject.toml, like empanadas with the mapping of what functions need to be exported so setuptools can generate the entrypoints.

What are the benefits of this?

Users, and Peridot, will be able to install and utilize this package immediately without hardcoding paths.

Additional context and information
n/a

**Preliminary questions** - [X] Is there already a PR open for this? - No - [X] Have you ensured that this feature is not already included? - yes **Is this RFE related to a problem or a bug? Describe and reference it below.** pv2 should export scripts so that, when installed, users can invoke them from their path **What is your proposed idea or solution?** add a `tools.poetry.script` section to pyproject.toml, like [empanadas](https://github.com/rocky-linux/sig-core-toolkit/blob/devel/iso/empanadas/pyproject.toml#L24) with the mapping of what functions need to be exported so setuptools can generate the entrypoints. **What are the benefits of this?** Users, and Peridot, will be able to install and utilize this package immediately without hardcoding paths. **Additional context and information** n/a
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: peridot/pv2#1
No description provided.