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

runpy support for canonical script #26

Open
jaraco opened this issue Aug 13, 2019 · 1 comment
Open

runpy support for canonical script #26

jaraco opened this issue Aug 13, 2019 · 1 comment

Comments

@jaraco
Copy link

jaraco commented Aug 13, 2019

It would be nice to be able to invoke this package with python -m (runpy) support. Currently the package can be invoked with python -m pip_autoremove, but since the canonical command is pip-autoremove, it would be more intuitive to invoke the script with python -m pip-autoremove.

Doing so would allow it to be invoked using pip-run so the package could be invoked without being installed. Would you support such functionality?

@tresni
Copy link
Contributor

tresni commented Apr 11, 2020

PEP8 says module names should be lowercase, alphanumeric, and underscores (technically only if it improves readability.) So the module name seems to be correct by Python community standards. I'm not aware (though didn't look hard) of any module that is actually named with a hyphen.

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