Skip to content

fix: work around pip bug #605

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

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

Conversation

henryiii
Copy link
Contributor

Fix #586. Fix #324.

Signed-off-by: Henry Schreiner <[email protected]>
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant