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 a shebang to the .pyz to make it "more executable" #17

Open
facundobatista opened this issue Aug 16, 2021 · 1 comment
Open

Add a shebang to the .pyz to make it "more executable" #17

facundobatista opened this issue Aug 16, 2021 · 1 comment
Labels
undecided Still unsure if this makes sense / will be done / etc. -- needs more study

Comments

@facundobatista
Copy link
Owner

This way, people would only need to do chmod +x to it and will be ready to go.

It looks Windows may also support it, according to this conversation

What would happen if we double-click on it in Linux?

@facundobatista facundobatista added this to the 1.0 - Stable milestone Aug 16, 2021
@facundobatista
Copy link
Owner Author

Removing this from "stable" milestone, as I don't fully understand if this would be beneficial or a problem. We need to study it a little more.

Basically the problem is which the shebang would be.

  • /usr/bin/env python3: not all platforms have env there!
  • of course we cannot point to a specific Python version, we shouldn't tie to that
  • what in windows

OTOH, we could put something, and it will be useful when it matches the platform, and not useful elsewhere. The big question is if we want something that "will work sometimes".

@facundobatista facundobatista removed this from the 1.0 - Stable milestone Apr 24, 2023
@facundobatista facundobatista added the undecided Still unsure if this makes sense / will be done / etc. -- needs more study label Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
undecided Still unsure if this makes sense / will be done / etc. -- needs more study
Projects
None yet
Development

No branches or pull requests

1 participant