From bf5d151799594000619c88aa94b7317ebbcb5cd6 Mon Sep 17 00:00:00 2001 From: Andrew Senetar Date: Thu, 21 Jan 2021 18:13:17 -0600 Subject: [PATCH] Update ReadMe and requirements - On linux (Debian based) pyrcc5 does not make it onto the path so updating the notes here to take care of this behavior and update requirements so virtual environment load it correctly. - Fix #766 --- README.md | 6 +++--- requirements.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3050d4ee..ecdf615a 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ dupeGuru comes with a makefile that can be used to build and run: ### Building without Make $ cd - $ python3 -m venv --system-site-packages ./env + $ python3 -m venv ./env $ source ./env/bin/activate $ pip install -r requirements.txt $ python build.py @@ -73,7 +73,7 @@ To generate packages the extra requirements in requirements-extra.txt must be in steps are as follows: $ cd - $ python3 -m venv --system-site-packages ./env + $ python3 -m venv ./env $ source ./env/bin/activate $ pip install -r requirements.txt -r requirements-extra.txt $ python build.py --clean @@ -81,7 +81,7 @@ steps are as follows: This can be made a one-liner (once in the directory) as: - $ bash -c "python3 -m venv --system-site-packages env && source env/bin/activate && pip install -r requirements.txt -r requirements-extra.txt && python build.py --clean && python package.py" + $ bash -c "python3 -m venv ./env && source env/bin/activate && pip install -r requirements.txt -r requirements-extra.txt && python build.py --clean && python package.py" ## Running tests diff --git a/requirements.txt b/requirements.txt index 0d1b8c10..ce5aa8de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,5 @@ sphinx>=1.2.2 polib>=1.0.4 hsaudiotag3k>=1.1.3* distro>=1.5.0 -PyQt5 >=5.4,<6.0; sys_platform != 'linux' +PyQt5 >=5.4,<6.0 pywin32>=200; sys_platform == 'win32' \ No newline at end of file