Build/release stuff
parent
9a926dafb2
commit
8f4f868c85
10
README.md
10
README.md
|
@ -6,6 +6,14 @@
|
|||
|
||||
- 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
|
||||
|
||||
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
|
||||
|
||||
4. Admire glorious tau distributions for each comb tooth
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
# Old stuff - includes former (obscenely redundant) project structure
|
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
20
build.cmd
20
build.cmd
|
@ -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
|
||||
If %INPUT%=="n" goto no
|
||||
FOR %%A IN (%*) DO (
|
||||
IF "%%A"=="-compileUI" set compileUI=1
|
||||
IF "%%A"=="-build" set build=1
|
||||
)
|
||||
|
||||
if %compileUI%==1 pyuic5.exe -x .\ui\mainwin.ui -o mainwin.py
|
||||
|
||||
if %build%==1 pyinstaller --onefile --windowed --icon=favicon.ico app.py
|
||||
|
||||
:yes
|
||||
pyuic5.exe -x .\app.ui -o app.py
|
||||
exit
|
||||
|
||||
:no
|
||||
exit
|
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Loading…
Reference in New Issue