Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ File Directory model

├── PyLap Project folder
 ├── PyLap\
 ├── PHARLAP\
 ├── pharlap_4.5.1\
 └── l_comp_lib_2020.4.304_comp.for_redist\


Expand Down Expand Up @@ -57,13 +57,17 @@ File Directory model

12. sudo apt-get install python3-pip

13. pip3 install matplotlib numpy scipy qtpy
13. python -m venv ${PYTHONPATH}

14. cd $PYTHONPATH
14. source ${PYTHONPATH}/bin/activate

15. python3 setup.py install --user
15. pip3 install matplotlib==3.8.4 numpy==1.26.0 scipy==1.13.1 qtpy pyqt5

16. Use Example folder files as templates to test the installation
16. cd ${PYTHONPATH}

17. python3 setup.py install

18. Use Example folder files as templates to test the installation

*Note* This is not a one time setup and will have to be redone if the terminal is closed out or if the code project is closed out *Note*

Expand Down
8 changes: 6 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,13 @@ sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev li

sudo apt-get install python3-pip

pip3 install matplotlib numpy scipy qtpy
# Create a venv and install the appropriate versions of numpy etc
python -m venv ${PYTHONPATH}
source ${PYTHONPATH}/bin/activate

python3 setup.py install --user
pip3 install matplotlib==3.8.4 numpy==1.26.0 scipy==1.13.1 qtpy pyqt5

python3 setup.py install
else
echo "Pylap is already setup"
echo "if you wish to redo the setup enter the command 'nano .bashrc' in the home directory, delete the filepaths and then run the setup.sh script again"
Expand Down