build fixes

pull/624/head
Holger Müller 2023-03-14 21:00:56 +01:00
parent b2c2598d3c
commit 3c752a9731
7 changed files with 9 additions and 6 deletions

View File

@ -29,7 +29,7 @@ jobs:
- name: Build binary
run: |
. build/bin/activate
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
pyinstaller --onefile -p src -n nanovna-saver nanovna-saver.py
- name: Archive production artifacts
uses: actions/upload-artifact@v1
with:

View File

@ -30,7 +30,7 @@ jobs:
- name: Build binary
run: |
. build/bin/activate
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
pyinstaller --onefile -p src -n nanovna-saver nanovna-saver.py
- name: Archive production artifacts
uses: actions/upload-artifact@v1
with:

View File

@ -23,7 +23,7 @@ jobs:
pip install PyInstaller==5.9.0
- name: Build binary
run: |
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
pyinstaller --onefile -p src -n nanovna-saver nanovna-saver.py
- name: Archive production artifacts
uses: actions/upload-artifact@v1

View File

@ -27,7 +27,7 @@ jobs:
pip install PyInstaller==5.9.0
- name: Build binary
run: |
pyinstaller --onefile -n nanovna-saver.exe nanovna-saver.py
pyinstaller --onefile -p src -n nanovna-saver.exe nanovna-saver.py
- name: Archive production artifacts
uses: actions/upload-artifact@v1

1
.gitignore vendored
View File

@ -52,4 +52,3 @@ MANIFEST
.venv*/
.conda*/
.python-version
**/_version.py

View File

@ -9,10 +9,10 @@ dynamic = ["version"]
[tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
root="."
version_scheme = "no-guess-dev"
write_to = "src/NanoVNASaver/_version.py"
[tool.pytest.ini_options]
pythonpath = [
".", "src",

View File

@ -0,0 +1,4 @@
# file generated by setuptools_scm
# don't change, don't track in version control
__version__ = version = '0.5.5.post1.dev14+gb2c2598'
__version_tuple__ = version_tuple = (0, 5, 5, 'dev14', 'gb2c2598')