Build/release stuff
This commit is contained in:
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
|
||||
|
||||
|
||||
|
||||
1
archive/README.md
Normal file
1
archive/README.md
Normal file
@@ -0,0 +1 @@
|
||||
# Old stuff - includes former (obscenely redundant) project structure
|
||||
BIN
assets/favicon.png
Normal file
BIN
assets/favicon.png
Normal file
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
|
||||
)
|
||||
|
||||
:yes
|
||||
pyuic5.exe -x .\app.ui -o app.py
|
||||
exit
|
||||
if %compileUI%==1 pyuic5.exe -x .\ui\mainwin.ui -o mainwin.py
|
||||
|
||||
:no
|
||||
exit
|
||||
if %build%==1 pyinstaller --onefile --windowed --icon=favicon.ico app.py
|
||||
|
||||
exit
|
||||
BIN
favicon.ico
Normal file
BIN
favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user