Skip to content

Commit

Permalink
Remove localdepends.py.
Browse files Browse the repository at this point in the history
As of gpodder/gpodder.github.io#42, it is now
recommended to use pip to install tools/requirements.txt.
  • Loading branch information
auouymous committed Nov 8, 2022
1 parent 98208d4 commit c90c580
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 82 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linttest.yml
Expand Up @@ -25,7 +25,7 @@ jobs:
sudo apt-get update -q
sudo apt-get install intltool desktop-file-utils
pip3 install pytest-cov minimock pycodestyle isort requests pytest pytest-httpserver
python3 tools/localdepends.py
pip3 install podcastparser mygpoclient
- name: Lint
run: make lint
- name: Test
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -18,7 +18,7 @@ Contributions are made to this repo via Issues and Pull Requests (PRs). Make sur
python3 -m venv venv
source activate venv/bin/activate
```
5. Install dependencies: `python3 tools/localdepends.py`
5. Install dependencies: [Run from Git](https://gpodder.github.io/docs/run-from-git.html)
6. Start the program with debug mode: `./bin/gpodder -v`
7. Make the changes, commit in a branch and push the branch to your fork and then submit a Pull Request.

Expand All @@ -27,4 +27,4 @@ To ensure code quality, we recommend you to run the linter before pushing the ch
```shell
pip3 install pytest-cov minimock pycodestyle isort requests pytest pytest-httpserver
```
Execute the linter in the root directory (Linux only): `make lint unittest`. On Windows execute: `pycodestyle share src/gpodder tools bin/* *.py`
Execute the linter in the root directory (Linux only): `make lint unittest`. On Windows execute: `pycodestyle share src/gpodder tools bin/* *.py`
5 changes: 2 additions & 3 deletions README.md
Expand Up @@ -35,9 +35,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
As an alternative to python-dbus on Mac OS X and Windows, you can use
the dummy (no-op) D-Bus module provided in "tools/fake-dbus-module/".

For quick testing, you can use the script tools/localdepends.py to
install local copies of podcastparser and mygpoclient into "src/" from
PyPI. With this, you get a self-contained gPodder CLI codebase.
For quick testing, see [Run from Git](https://gpodder.github.io/docs/run-from-git.html)
to install dependencies.


### GTK3 UI - Additional Dependencies
Expand Down
10 changes: 2 additions & 8 deletions src/gpodder/__init__.py
Expand Up @@ -49,10 +49,7 @@
The podcastparser module can be downloaded from
http://gpodder.org/podcastparser/
From a source checkout, you can download local copies of all
CLI dependencies for debugging (will be placed into "src/"):
python3 tools/localdepends.py
From a source checkout, see https://gpodder.github.io/docs/run-from-git.html
""")
sys.exit(1)
del podcastparser
Expand All @@ -65,10 +62,7 @@
The mygpoclient module can be downloaded from
http://gpodder.org/mygpoclient/
From a source checkout, you can download local copies of all
CLI dependencies for debugging (will be placed into "src/"):
python3 tools/localdepends.py
From a source checkout, see https://gpodder.github.io/docs/run-from-git.html
""")
sys.exit(1)
del mygpoclient
Expand Down
68 changes: 0 additions & 68 deletions tools/localdepends.py

This file was deleted.

0 comments on commit c90c580

Please sign in to comment.