Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating pyradio on PyPi (pip) #78

Open
s-n-g opened this issue Dec 4, 2018 · 6 comments
Open

Updating pyradio on PyPi (pip) #78

s-n-g opened this issue Dec 4, 2018 · 6 comments
Labels
installation Installation procedure related topics

Comments

@s-n-g
Copy link
Collaborator

s-n-g commented Dec 4, 2018

@coderholic

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

@s-n-g s-n-g added the installation Installation procedure related topics label Dec 30, 2019
@jirikrepl
Copy link
Contributor

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

@FestplattenSchnitzel
Copy link

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

@s-n-g
Copy link
Collaborator Author

s-n-g commented Dec 28, 2022

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 s-n-g pinned this issue Dec 28, 2022
@luzpaz
Copy link

luzpaz commented Apr 5, 2024

Current pypi version is 0.5.2 (https://pypi.org/project/pyradio/)

@s-n-g
Copy link
Collaborator Author

s-n-g commented Apr 5, 2024

Yes, @luzpaz I know...

I am not the creator of the project, @coderholic is, and I do not have access to pypi

Either way, maybe it's for the best; providing a custom installation method allows for the installation of man pages, html help etc. which would not be possible through pypi (as far as I know)

@techtonik
Copy link
Contributor

@klen can you help with that? It seems you have access to pyradio too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
installation Installation procedure related topics
Projects
None yet
Development

No branches or pull requests

5 participants