rbanffy / pip-chill

A more relaxed `pip freeze`
Other
555 stars 25 forks source link

pip-chill is not executable as a package #30

Closed orlp closed 3 years ago

orlp commented 3 years ago

Whenever possible I prefer python -m <package> over directly executing <package> on the command line. This ensures that you have the version of the package that corresponds to your Python installation, instead of whatever is on top of the path variable.

Examples include python -m virtualenv, python -m pip, python -m http.server, python -m cProfile, python -m snakeviz, etc.

It would be great if pip-chill also supported this. It's really easy, all that's needed is to add a __main__.py to the package, in a manner similar to this: https://github.com/jiffyclub/snakeviz/commit/2fced2fed965de823c0704bee8079b487973d641#diff-5ea63581f9f31b064ad597564a2970012ab32af9fb7b6bf4593265ef9473c391.

github-actions[bot] commented 3 years ago

Stale issue message