ppizarror / PyDetex

An application that transforms LaTeX code to plain text
https://pydetex.readthedocs.io
MIT License
34 stars 5 forks source link

Setup with pipx #41

Closed klieret closed 7 months ago

klieret commented 7 months ago

Is your feature request related to a problem? Please describe.

This is a standalone tool, so I would like to install it in a separate virtual environment. This is cumbersome.

Describe the solution you'd like

pipx is the standard tool for this use case. This will not require any additional work on your side but to specify the entry_points in setup.py, see here. Then, users can simply run pipx run pydetex, and pipx will download, install, and run pydetex 🎉

Additional context

Thanks a lot for developing this package, very useful!

ppizarror commented 7 months ago

Hi! I've added pipx support in the new v1.0.8. It works great

klieret commented 7 months ago

Ah, turns out this was my bad, I got

pipx run pydetex --spec pydetex                                                                                                                                                                                                      ─╯
'pydetex' executable script not found in package 'pydetex'.
Available executable scripts:

but actually this seems to have been caused by an outdated pipx. Upgrading pipx solved the issue for me :)

Thanks!