From 1844c7fe7781c8ef93d0b4100c3bcaef177a9c77 Mon Sep 17 00:00:00 2001 From: Rob MacKinnon Date: Tue, 7 Jun 2022 12:10:30 -0700 Subject: [PATCH 1/2] Addition of pip 'requirements.txt' --- requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..38e1961 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +kivy +pygame +pycairo +cairocffi \ No newline at end of file From b2f4c51fdc6caaeb41354fa8d952c4cfed718757 Mon Sep 17 00:00:00 2001 From: Rob MacKinnon Date: Tue, 7 Jun 2022 12:12:58 -0700 Subject: [PATCH 2/2] Updated README.md with pip usage for 'requirements.txt' --- README.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index bccd6f9..1eabf14 100644 --- a/README.md +++ b/README.md @@ -57,17 +57,9 @@ install `kivy`, `pygame` and `pycairo` python packages. Here is an example of st python3 -m pip install --upgrade pip -- Install "kivy", pycairo" and "pygame" python packages: +- Install required python packages "kivy", pycairo" and "pygame" (and optional cairocffi): - pip3 install kivy - - pip3 install pygame - - pip3 install pycairo - -- I have received a report that "cairocffi" python package is required as well. On my Mac things work fine without it, however, if your machine needs it, then you can install it with: - - pip3 install cairocffi + pip3 install -r requirements.txt Once you have `python` and the required python packages installed, you can run `hm-panelizer` via command line (i.e. terminal) by `cd`'ing into the **hm-panelizer** folder, then issuing `python3 main.py` command.