So I wrote a little Command-Line App and want to provide an easy way to clone and use it. Problem: My app has some dependencies like Hashlib and Pyperclip.
Is there a best practice to get missing packages installed on a different machine?
Can I do so without people needing to install global pip packages?
- It is a good idea to ship it as a
venv? - Can like
compilethem into a single python file (somewhat like a binary)?
- It is a good idea to ship it as a
If I cannot do so, how to I get packages installed on a different machine?
Is there a nice routine to allow the user to completely remove my app once installed?
setup.pyand then upload it to pypi. Then people can just dopython -m pip install <yourlib>and it will get all the dependencies