summaryrefslogtreecommitdiff
path: root/Windows/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'Windows/README.md')
-rw-r--r--Windows/README.md37
1 files changed, 14 insertions, 23 deletions
diff --git a/Windows/README.md b/Windows/README.md
index 93d93c2d..40c509e7 100644
--- a/Windows/README.md
+++ b/Windows/README.md
@@ -29,36 +29,22 @@ It contains all the documentation for making eSim executable (using PyInstaller)
$ source eSim/Scripts/activate
-6. Install the Python dependencies `PyInstaller`, `Matplotlib`, `Tornado`, `SetupTools`, `PyQt5`, `Pypiwin32` through pip for eSim within the virtual environment:
-
- $ pip install pyinstaller
- $ pip install matplotlib==3.0.3
- $ pip install tornado
- $ pip install setuptools
- $ pip install PyQt5==5.9.2
- $ pip install pypiwin32
-
+6. Install the following Python dependencies through pip for eSim within the virtual environment:
+
+ $ pip install pyinstaller matplotlib==3.0.3 tornado setuptools
+ $ pip install PyQt5==5.9.2 pypiwin32 psutil
+ $ pip install watchdog hdlparse
+
7. Test whether only eSim dependencies are available or not:
$ pip freeze
-> Note: Following Python packages for eSim along with their dependencies should be available -
-> - PyQt5
-> - PyQt5-sip
-> - matplotlib
-> - numpy
-> - dateutil
-> - pyparsing
-> - six
-> - cycler.py
-> - pypiwin32
-
8. Create spec file as:
$ pyi-makespec --onefile -n eSim <path_to_eSim>/src/frontEnd/Application.py --icon=<path_to_eSim_logo>
9. Create onefile executable using pyinstaller as:
-
+
$ pyinstaller -F --clean eSim.spec
10. Verify whether all eSim `src` files (`*.py`) have been included in `Analysis-00.toc` file under the build folder generated by PyInstaller.
@@ -83,7 +69,12 @@ It contains all the documentation for making eSim executable (using PyInstaller)
- `library/browser/User-Manual/figures` folder
- library/browser/User-Manual/eSim.html
-3. Remove entire `library` folder and duplicate files from `template` and `modules` folders from `eSim\library\kicadLibrary` as same will be repeated in KiCad installer. Now, compress it in zip format, place it at `eSim\library` and delete that folder.
+3. Remove following from `eSim\library\kicadLibrary` folder as same will be repeated in KiCad installer:
+ - entire `library` folder
+ - everything from `modules` folder except `Connectors_Terminal_Blocks.pretty/TerminalBlock_Altech_AK300-2_P5.00mm.kicad_mod` and `TO_SOT_Packages_THT.pretty/TO-220-3_Vertical.kicad_mod`
+ - everything from `temmplate` folder except `kicad.pro` file
+
+ Now, compress it in zip format, place it at `eSim\library` and delete that folder.
4. Add eSim user manual `eSim_Manual_<version>.pdf` at location `library/browser/User-Manual`.
@@ -110,4 +101,4 @@ It contains all the documentation for making eSim executable (using PyInstaller)
11. Compile the NSI script (`esim-setup-script` file). Now only use the generated installer for distribution.
> Note: If there is any warning on `Eliminating "zeroing code out"`, then have a look at this reference -
-https://nsis-dev.github.io/NSIS-Forums/html/t-358040.html \ No newline at end of file
+https://nsis-dev.github.io/NSIS-Forums/html/t-358040.html