From d0967c1e5208fc9847d3e805482bad4583c9a59c Mon Sep 17 00:00:00 2001 From: linkhack <34417724+linkhack@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:01:50 +0200 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7c7f96f..6d8e263 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,10 @@ google mediapipe library (https://google.github.io/mediapipe/). ## Installation instructions Tested with Python 3.10 and PySide6.4.3. -1. Create virtual environment `python venv venv` -2. Activate virtual environment `venv/Scripts/activate` -3. Install packages `pip install -r requirements.txt` +1. Clone repository +2. Create virtual environment `python venv venv` +3. Activate virtual environment `venv/Scripts/activate` +4. Install packages `pip install -r requirements.txt` ## Running Gesture Mouse - `python gui.py` to start gui @@ -21,8 +22,9 @@ Tested with Python 3.10 and PySide6.4.3. ## Creating an exe distribution To create a distribution folder wich includes all necessery .dll and an executable one can use PyInstaller([https://nuitka.net/](https://pyinstaller.org)). Instructions: -1. Activate virtual environment `venv/Scripts/activate` on windows and `source venv/bin/activate` on linux -2. Install PyInstaller `pip install pyinstaller` -3. Execute build process with +1. Follow the installation instructions +2. Activate virtual environment `venv/Scripts/activate` on windows and `source venv/bin/activate` on linux +3. Install PyInstaller `pip install pyinstaller` +4. Execute build process with `pyinstaller gui.py -D --add-data config;config --add-data data;data --collect-all mediapipe` on windows `pyinstaller gui.py -D --add-data config:config --add-data data:data --collect-all mediapipe` on linux