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

should the shebang be removed? #2076

Closed
sandy-lcq opened this issue Apr 26, 2020 · 1 comment
Closed

should the shebang be removed? #2076

sandy-lcq opened this issue Apr 26, 2020 · 1 comment

Comments

@sandy-lcq
Copy link

Hi,
command/easy_install.py has shebang "#!/usr/bin/env python", on some host, like fedora31 docker image,only python3 installed, and no python link to python3, in this case, maybe error like "python: command not found" will repored when run it.

same problem with "pkg_resources/_vendor/appdirs.py" , have reported to ActiveState/appdirs#145

@jaraco
Copy link
Member

jaraco commented May 3, 2020

That file isn't meant to be executed. The shebang was there as a signal that the file's content is Python code. Perhaps it should be removed.

@jaraco jaraco closed this as completed in 40f81af May 3, 2020
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

2 participants