pyradio
pyradio copied to clipboard
Updating pyradio on PyPi (pip)
@coderholic
Can you please take a look at #77 regarding updating pyradio in PyPi?
it would be nice to update it, can anyone do it?
FYI you can install pyradio via pips VCS Support directly from this Git Repository:
Install
pip install git+https://github.com/coderholic/pyradio.git
# This might not be necessary, if [python3-]psutil is already installed.
pip install psutil
Upgrade
pip install --upgrade git+https://github.com/coderholic/pyradio.git psutil
Uninstall
pip uninstall pyradio psutil
(If you use pipx, make sure to inject psutil with pipx inject pyradio psutil.)
Hi @FestplattenSchnitzel
Although using pip's VCS Support is correct, it is currently not 100% suitable for a pyradio installation.
Since I never had PyPI access for this project (I am not the original programmer, you see), I have created a workaround; the install.py script.
This script will:
- build and install the wheel (using
pip).
It will download the stable (i.e. tagged) version from the repo and work with it. - install html documentation and man pages
Using thepipmethod will not update the documentation, and having outdated documentation is not the best thing to face especially when you run into problems or want to customize things. - install a Desktop File (Start Menu link file on Windows).
This is a nice feature to have on linux, but a must have on Windows.
Furthermore, once pyradio is installed, it will automatically check for an update and ask for permission to download and install one (if found). So, the pip method is not necessary any more.
Now, one is free to use any method one finds easier, but I would recommend using the install.py script for the first installation, and the "automatic" way of updating (using pyradio -U is also an option).