Skip to content

fix: work around pip bug #605

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii
Copy link
Contributor Author

henryiii commented Apr 29, 2025

Writing a script doesn't work on Windows. You have to create a shim there, pip doesn't seem to do it for you if you give it a Python script. So there are a few options:

  • Use dynamic-metadata to create script entrypoints on Windows, and Unix only gets the fix. Still might be a bit broken on Windows.
  • Write a shim (we have a compiler, after all)
  • Take a stab at moving the executable to the Scripts directory. This is the nicest solution, but I've avoided it since it needs to know where the modules files are. If I can put them into the bin folder in a subfolder, that's likely the most reliable, but I might also be able to refer up a certain number of directories then back down. Or write a shim.

@henryiii henryiii force-pushed the henryiii/fix/pipbug branch from cdec0e6 to 53bb56c Compare April 29, 2025 03:29
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant