From c24a651abcadda52f5575891d15e9b770ebb8313 Mon Sep 17 00:00:00 2001 From: 0x80 <0x80@negativezero.link> Date: Wed, 29 Dec 2021 00:00:00 +0000 Subject: [PATCH] Clarify Python library dependencies. --- README.md | 47 +++++++++++++++++++++++++++++++++++++++++----- scripts/options.py | 4 ++-- 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 46d9f28..6571e2c 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,50 @@ rsstube is written in Python, an interpreted language. There's no need to compil ### Dependencies -- python3 -- python3-pycurl +- Python 3 +- PycURL + +**Arch Linux:** + +`sudo pacman -S python python-pycurl` + +**Debian:** + +`sudo apt install python3 python3-pycurl` + +**Fedora:** + +`sudo dnf install python3 python3-pycurl` + +**Pip:** + +(Assuming `python` and `pip` are already installed...) + +`pip install --user pycurl` ### Optional Dependencies -- git (for updating via git) -- python3-GitPython (for updating via git) +- Git (for updating via git) +- GitPython (for updating via git) +- PyGObject (for the GUI) + +**Arch Linux:** + +`sudo pacman -S git python-gitpython python-gobject` + +**Debian:** + +`sudo apt install git python3-git python3-gi` + +**Fedora:** + +`sudo dnf install git python3-GitPython python3-gobject` + +**Pip:** + +(Assuming `git` is already installed...) + +`pip install --user GitPython PyGObject` ### Sample Installation @@ -29,7 +66,7 @@ rsstube is written in Python, an interpreted language. There's no need to compil ### Updating -If you installed rsstube with git, and you have python3-GitPython installed, use `rsstube -U` or `rsstube --update`. +If you installed rsstube with git, and you have GitPython installed, use `rsstube -U` or `rsstube --update`. If you installed rsstube another way (manual download, package manager), update rsstube that same way. diff --git a/scripts/options.py b/scripts/options.py index 7ed750b..9c2410b 100644 --- a/scripts/options.py +++ b/scripts/options.py @@ -36,8 +36,8 @@ def update(): output = g.pull() print(output) except ImportError: - print("python3-GitPython must be installed to update rsstube this way.") - print("If you don't want to install python3-GitPython, you can run `git pull` in the directory where rsstube was installed.") + print("GitPython must be installed to update rsstube this way.") + print("If you don't want to install GitPython, you can run `git pull` in the directory where rsstube was installed.") else: print("rsstube appears to have been manually downloaded or installed with a package manager. Use that same method to update.")