Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add entrypoints for pipx #544

Closed
pitrou opened this issue Oct 4, 2023 · 1 comment · Fixed by #545
Closed

Add entrypoints for pipx #544

pitrou opened this issue Oct 4, 2023 · 1 comment · Fixed by #545
Assignees
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@pitrou
Copy link

pitrou commented Oct 4, 2023

Is your feature request related to a problem? Please describe.

Since storage-testbench is a Python project providing a single executable command, it would be nice if it could be managed using pipx. It would make it easier to run without having to know which Python was used to install it.

Describe the solution you'd like

The pipx docs describe how to add entry points to setup.py in order to support running with pipx:
https://pypa.github.io/pipx/how-pipx-works/#developing-for-pipx

Describe alternatives you've considered

What we're doing right now, for Apache Arrow, is install the testbench in a Python environment that's also used for unrelated things. It creates coupling between different pieces of our CI, and also requires passing/finding the proper Python executable even from non-Python tests, such as in the following C++ code:
https://github.com/apache/arrow/blob/532ab464db39da0e6b03e4b046355e7bf499730a/cpp/src/arrow/filesystem/gcsfs_test.cc#L92-L133

@pitrou pitrou added priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Oct 4, 2023
@pitrou
Copy link
Author

pitrou commented Oct 4, 2023

cc @raulcd @coryan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants