From 6fcbfddd1a61272ae5cb8f27fdd5b4e041e92e36 Mon Sep 17 00:00:00 2001 From: Charl Smit Date: Thu, 11 Apr 2024 13:43:08 +0200 Subject: [PATCH] Fix README --- build_exe/README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/build_exe/README.md b/build_exe/README.md index 3cbbcbb..28997f3 100644 --- a/build_exe/README.md +++ b/build_exe/README.md @@ -4,14 +4,15 @@ The executable is generated on after every release of the DET and the resultant to the release as assets. ## Testing locally -In the event that you want to test the exe compilation locally you can simply run -> pip install -r build_exe/requirements.txt +In the event that you want to test the exe compilation locally you can follow the steps below: -Now create the executable (if you're running this on a Linux machine you can only compile the binary for this type of -OS) +Install `pyinstaller`: +> python -m pip install pyinstaller + +Now create the executable (assuming you're running this on a Linux machine): > pyinstaller --dist ./dist/linux commcare-export.spec The resultant executable file can be located under `./dist/linux/`. -Note that the argument `commcare-export.spec`. This is a simple configuration file used by +The argument, `commcare-export.spec`, is a simple configuration file used by pyinstaller which you ideally shouldn't have to ever change. \ No newline at end of file