From 694cb5d1522bfe450fc9315e9220b71b3dbf12f6 Mon Sep 17 00:00:00 2001 From: Bladen Martin Date: Wed, 29 Jul 2020 17:48:35 +0530 Subject: Update readme.md --- Windows/readme.md | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) (limited to 'Windows/readme.md') diff --git a/Windows/readme.md b/Windows/readme.md index 7da8684..799e4c9 100644 --- a/Windows/readme.md +++ b/Windows/readme.md @@ -7,7 +7,7 @@ It contains all the documenation for making NGHDL executable (using PyInstaller) ## NGHDL Executable: -1. Download and install "Python-3.7.7", "Git For Windows". Use "Git Bash" for all following shell commands. +1. Download and install "Python-3.5.2", "Git For Windows". Use "Git Bash" for all following shell commands. Reference - https://gitforwindows.org/ @@ -32,7 +32,6 @@ It contains all the documenation for making NGHDL executable (using PyInstaller) - Install PyInstaller, tornado, SetupTools through pip : $ pip install pyinstaller - $ pip install tornado $ pip install --upgrade 'setuptools<45.0.0' - Install PyQt4 through pip (Reference - https://stackoverflow.com/questions/22640640/how-to-install-pyqt4-on-windows-using-pip) : @@ -41,7 +40,7 @@ It contains all the documenation for making NGHDL executable (using PyInstaller) $ pip install Download PyQt4 Wheel from - [https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4] - Where cp37 represents the Python version i.e. 3.7.7 + Where cp37 represents the Python version i.e. 3.7.x and so on > Note : - If there are any issues regarding loading of DLL files, refer : https://stackoverflow.com/questions/2738879/cannot-import-pyqt4-qtgui @@ -53,11 +52,12 @@ It contains all the documenation for making NGHDL executable (using PyInstaller) > Note : Following dependencies should be available - > - PyQt4 -> - numpy -> - dateutil -> - pyparsing -> - six -> - cycler.py +> - sip +> - altgraph +> - future +> - pefile +> - pyinstaller +> - pywin32-ctypes 8. Create spec file as: @@ -73,7 +73,7 @@ It contains all the documenation for making NGHDL executable (using PyInstaller) -## How to package NGHDL? +## How to package NGHDL with eSim ? 1. Place the nghdl.exe generated from the above process at the location /nghdl/src/ @@ -85,18 +85,22 @@ It contains all the documenation for making NGHDL executable (using PyInstaller) - Readme.md - Workflow.md -4. Place nghdl folder containing `src folder`, `Examples folder`&`LICENSE`under folder named eSim/ +4. Place **nghdl** folder containing `src folder`, `Examples folder` & `LICENSE`under folder named eSim/ -5. Compress `eSim` folder in zip format (Make sure that there is folder named `eSim` inside this compressed file) and name it as `nghdl-src.zip`. +5. Final directory structure should be: eSim/nghdl/Examples + eSim/nghdL/src + eSim/nghdl/LICENSE -6. Place the following zip files at the installer folder for eSim. +6. Compress the `eSim` folder from step 4 in 7z format (Make sure that there is folder named `eSim` inside this compressed file) and name it as `nghdl-src.7z`. + (7z compression tool can be downloaded from - https://www.7-zip.org/download.html ) + +7. ALong with `nghdl-src.7z` from step 5, place the following 7z files at the installer folder for eSim. (these can be obtained under *sources/* folder in the repository ) -- nghdl-src.zip -- ghdl.zip -- MSYS.zip -- ngspice-nghdl.zip -- mingw.7z +- ghdl.7z +- MSYS.7z +- ngspice-nghdl.7z +- mingw64.7z -7. Place the script `installnghdl.nsi` at the eSim installer location. +8. Place the script `installnghdl.nsi` at the eSim installer location. -8. Follow the rest of the instructions for packging eSim [https://github.com/FOSSEE/eSim/tree/installers/Windows] and compile the NSI script (`esim-setup-script` file). Now only use the generated installer for distribution. +9. Follow the rest of the instructions for packging eSim [https://github.com/FOSSEE/eSim/tree/installers/Windows] and compile the NSI script (`esim-setup-script.nsi` file). Now only use the generated installer for distribution. -- cgit From f0c7979f4ab41be5c0da7efb095b94bc5e416663 Mon Sep 17 00:00:00 2001 From: Bladen Martin Date: Wed, 29 Jul 2020 19:04:59 +0530 Subject: Update readme.md --- Windows/readme.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Windows/readme.md') diff --git a/Windows/readme.md b/Windows/readme.md index 799e4c9..6f5aae9 100644 --- a/Windows/readme.md +++ b/Windows/readme.md @@ -82,17 +82,17 @@ It contains all the documenation for making NGHDL executable (using PyInstaller) 3. Remove the following files at /nghdl/ - .gitignore - GHDLside.md - - Readme.md - Workflow.md -4. Place **nghdl** folder containing `src folder`, `Examples folder` & `LICENSE`under folder named eSim/ +4. Place **nghdl** folder containing `src folder`, `Example folder` & `LICENSE` under folder named eSim/ -5. Final directory structure should be: eSim/nghdl/Examples - eSim/nghdL/src - eSim/nghdl/LICENSE +5. Final directory structure should be: +- eSim/nghdl/Example +- eSim/nghdl/src +- eSim/nghdl/LICENSE -6. Compress the `eSim` folder from step 4 in 7z format (Make sure that there is folder named `eSim` inside this compressed file) and name it as `nghdl-src.7z`. - (7z compression tool can be downloaded from - https://www.7-zip.org/download.html ) +6. Compress the `eSim` folder from step 4 in 7z format (Make sure that there is folder named `eSim` inside this compressed file) and name it as `nghdl-src.7z`.\ +(7z compression tool can be downloaded from - https://www.7-zip.org/download.html ) 7. ALong with `nghdl-src.7z` from step 5, place the following 7z files at the installer folder for eSim. (these can be obtained under *sources/* folder in the repository ) -- cgit