From 9d9e2e166e6624767d178ea62fff53c4135225f7 Mon Sep 17 00:00:00 2001 From: Param Siddharth Date: Sat, 15 Aug 2020 20:58:05 +0530 Subject: [PATCH] Update README with distribution instructions --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ac2508..4429e06 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,11 @@ Equation were used for plotting and expression-parsing respectively. Simply execute `main.py` using Python. Use `-W ignore` to hide warning in the console e. g. Division by Zero. ``` > python -W ignore main.py - ``` \ No newline at end of file + ``` + - To build distribution, use `pyinstaller`. + ``` + > pyinstaller main.py -w -i icon.ico --clean --noconfirm + ``` + Note: Due to dependency issues, you might need to manually copy `matplotlib` and + `Equation` from your Python installation, and `icon.ico` from the source directory + to the distribution folder for the executable to function properly. \ No newline at end of file