Clarify Python library dependencies.
This commit is contained in:
parent
f6fa8d652a
commit
c24a651abc
47
README.md
47
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.
|
||||
|
||||
|
|
|
@ -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.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue