Skip to content

Commit

Permalink
pin required pyhon lib versions and use more curren pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
zarath committed Oct 10, 2021
1 parent 7f16147 commit a3c9dea
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- v*
workflow_dispatch:

jobs:
release:
Expand All @@ -19,7 +20,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install PyInstaller==4.3
pip install PyInstaller==4.5.1
- name: Build binary
run: |
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- v*
workflow_dispatch:

jobs:
release:
Expand All @@ -19,7 +20,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install PyInstaller==4.3
pip install PyInstaller==4.5.1
- name: Build binary
run: |
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- v*
workflow_dispatch:

jobs:
release:
Expand All @@ -23,7 +24,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements.txt
pip install PyInstaller==4.3
pip install PyInstaller==4.5.1
- name: Build binary
run: |
pyinstaller --onefile -n nanovna-saver.exe nanovna-saver.py
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
scipy
cython
pyqt5
pyserial
numpy
pyserial==3.5
PyQt5==5.15.4
numpy==1.21.1
scipy==1.7.1
cython==0.29.24
10 changes: 5 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ version = attr: NanoVNASaver.About.VERSION
[options]
packages = find_namespace:
install_requires=
pyserial
PyQt5
numpy
scipy
cython
pyserial==3.5
PyQt5==5.15.4
numpy==1.21.1
scipy==1.7.1
cython==0.29.24
python_requires = >=3.8, <4

[options.entry_points]
Expand Down

0 comments on commit a3c9dea

Please sign in to comment.