The whole pip process carefully guards against putting things in PATH. The only way to do it is to declare it in the pyproject.toml file, after which pip builds a shim to call the appropriate script. Obviously, that's not going to work for an extension.
Question: do you expect the same script to be used for installations that have done a package install, as well as a pip install? If only the latter, then I can think of two possibilities: 1. Put it in venv/bin/user. It won't be in $PATH, so you'd have to instruct the user on where to find it. 2. Make it installable via pip. Write a pyproject.toml file, then use poetry or some other builder to create a wheel and upload it to pypi.org. -tk On Tue, Jul 16, 2024 at 1:14 AM Karen K <[email protected]> wrote: > [email protected] schrieb am Dienstag, 16. Juli 2024 um 09:39:11 UTC+2: > > bin/user? > > > You need a directory for that purpose that is included in $PATH. Otherwise > the shell does not find the script. And bin/user is not. > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/43def605-b216-4969-9aaf-eb63507536e8n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/43def605-b216-4969-9aaf-eb63507536e8n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEChLnMiZOz633ckm%3DPacm%2B%2BOzUE93QYjkCuU9gFMF9R8g%40mail.gmail.com.
