Build/release stuff

master
michael 2021-07-16 09:37:22 -07:00
parent 9a926dafb2
commit 8f4f868c85
5 changed files with 20 additions and 11 deletions

View File

@ -6,6 +6,14 @@
- Expected data column format: `[time, signal voltage in, piezo crystal voltage out]` - Expected data column format: `[time, signal voltage in, piezo crystal voltage out]`
### Building
1. `pip3 <or python3 -m pip> install -r requirements.txt`
2. `build.cmd -compileUI -build`
3. Find build output in `/dist/`
### Usage ### Usage
1. Import data (CSV format preferred, delimiter customization coming later, maybe even [LabView binary](https://pypi.org/project/npTDMS/)) 1. Import data (CSV format preferred, delimiter customization coming later, maybe even [LabView binary](https://pypi.org/project/npTDMS/))
@ -15,5 +23,3 @@
3. Set peak isolation parameters + guesses for ringdown function coefficients 3. Set peak isolation parameters + guesses for ringdown function coefficients
4. Admire glorious tau distributions for each comb tooth 4. Admire glorious tau distributions for each comb tooth

1
archive/README.md Normal file
View File

@ -0,0 +1 @@
# Old stuff - includes former (obscenely redundant) project structure

BIN
assets/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -1,13 +1,15 @@
echo WARNING: THIS WILL OVERWRITE app.py WITH A CONVERTED VERSION OF THE .UI FILE. @echo off
set /p INPUT=Continue? [y/n] set compileUI=0
set build=0
If %INPUT%=="y" goto yes FOR %%A IN (%*) DO (
If %INPUT%=="n" goto no IF "%%A"=="-compileUI" set compileUI=1
IF "%%A"=="-build" set build=1
)
:yes if %compileUI%==1 pyuic5.exe -x .\ui\mainwin.ui -o mainwin.py
pyuic5.exe -x .\app.ui -o app.py
exit
:no if %build%==1 pyinstaller --onefile --windowed --icon=favicon.ico app.py
exit
exit

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB