You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the switch fromm requirements.txt to pyproject.toml,
the instructions no longer were accurate.
Also add instructions on how to use virtual environment and
how to install optional dependencies.
Copy file name to clipboardExpand all lines: docs/run-from-git.md
+40-6Lines changed: 40 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Run from Git
3
3
---
4
4
5
-
If you are on Linux and want to try out the latest version of gPodder, it is easy to do by cloning from Git. You only need Python, PyGObject3, Gtk3 and Git installed, all other dependencies can be installed into the Git checkout.
5
+
If you want to try out the latest version of gPodder or help develop, it is easy to clone from Git. You only need Python, PyGObject3, Gtk3 and Git installed, all other dependencies can be installed into the Git checkout.
6
6
7
7
## Do I need `root`, compile anything or install it system-wide?
8
8
@@ -25,28 +25,62 @@ As gPodder is written in Python, there is no need to compile anything or to inst
25
25
26
26
## Optional Dependencies
27
27
28
+
Defined in pyproject.toml:
29
+
30
+
* eyed3
31
+
* PySocks
28
32
* html5lib
29
33
* mutagen
34
+
* filelock
35
+
* pillow
30
36
* yt-dlp
31
37
32
38
## Instructions
33
39
40
+
First time setup:
41
+
34
42
git clone https://github.com/gpodder/gpodder.git
35
43
cd gpodder
36
-
# To install required and optional dependencies
37
-
# (not including git, python or gtk3 dependencies)
38
-
python3 -m pip install -r tools/requirements.txt # as root
39
-
python3 -m pip install --user -r tools/requirements.txt # as user
44
+
45
+
# Optional: create virtual environment (required on MacOS)
46
+
python3 -m venv ./.venv
47
+
# load virtual environment, if using one
48
+
source ./.venv/bin/activate
49
+
50
+
# Select one of the following four steps to install dependencies:
51
+
# (does not install git, python or gtk3 dependencies)
52
+
53
+
# required dependencies only (as root, or if in virtual environment)
54
+
python3 -m pip install .
55
+
# required dependencies only (as user)
56
+
python3 -m pip install --user .
57
+
# required and optional dependencies (as root, or if in virtual environment)
0 commit comments