salabim / unrepl

Converts REPL output code fragments to proper Python
15 stars 0 forks source link

Console script for unrepl when installing from PyPI #2

Open Jackenmen opened 2 years ago

Jackenmen commented 2 years ago

Could you add a console script for the package on PyPI so that unrepl can be called with just unrepl?


I also wonder, why do you not include the packaging setup right in the repository? That would make it possible to contribute improvements such as this one and also more easily replicate what you upload to PyPI. It also doesn't seem like there's a license that would be preferable if accepting contributions.

I suppose that I could even contribute a simple modern packaging setup if that's something that you're interested in.

cclauss commented 1 year ago

+1. For instance, if I pipx install unrepl, I get the message:

No apps associated with package unrepl or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead.

As @mikeckennedy said on Python Bytes @ 18:30 pipx should be the way to install command line tools like unrepl.