[Python-ideas] Making -m work for scripts

Ram Rachum ram at rachum.com
Thu Jun 11 19:23:57 CEST 2015


What do you think about making `python -m whatever` work also for installed
scripts and not just for modules? I need this now because I've installed
pypy on Linux, and I'm not sure how to run the `nosetests` of PyPy (in
contrast to the `nosetests` of the system Python.) It's sometimes a mess to
find where Linux installed the scripts related with each version of Python.
But if I could do `pypy -m nosetests` then I'd have a magic solution. What
do you think?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150611/8cbd1a6b/attachment.html>

More information about the Python-ideas mailing list