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

Cannot distribute standalone script #1732

Open
poquirion opened this issue Sep 23, 2024 · 0 comments
Open

Cannot distribute standalone script #1732

poquirion opened this issue Sep 23, 2024 · 0 comments

Comments

@poquirion
Copy link

poquirion commented Sep 23, 2024

We have utility scripts, some of them not written in python, which comes with our package that need to be added to our users PATH. They are easy to distribute with setuptools setup.py using:

setuptools.setup(scripts = [
        'utils/some_tool.sh'
]

How would that be done with hatch? We can't find any reference in the documentation.

We have not figured a way of doing that outside of writing a python entrypoint that would call the bash tool as a subprocess, but we do not like that hack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant