pyradio icon indicating copy to clipboard operation
pyradio copied to clipboard

Updating pyradio on PyPi (pip)

Open s-n-g opened this issue 6 years ago • 9 comments

@coderholic

Can you please take a look at #77 regarding updating pyradio in PyPi?

s-n-g avatar Dec 04 '18 11:12 s-n-g

it would be nice to update it, can anyone do it?

jirkadev avatar Jul 12 '21 07:07 jirkadev

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.)

FestplattenSchnitzel avatar Dec 28 '22 14:12 FestplattenSchnitzel

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:

  1. build and install the wheel (using pip).
    It will download the stable (i.e. tagged) version from the repo and work with it.
  2. install html documentation and man pages
    Using the pip method 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.
  3. 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).

s-n-g avatar Dec 28 '22 22:12 s-n-g