Update gitignore, add building options
This commit is contained in:
parent
532d800ffd
commit
c1fa299840
2 changed files with 27 additions and 3 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -1,6 +1,8 @@
|
||||||
|
__pycache__
|
||||||
/.venv
|
/.venv
|
||||||
/Python
|
/*.build
|
||||||
|
/*.dist
|
||||||
|
/htdemucs_ft
|
||||||
/input
|
/input
|
||||||
/output
|
/output
|
||||||
/htdemucs_ft
|
/Python
|
||||||
__pycache__
|
|
||||||
22
BUILDING.md
Normal file
22
BUILDING.md
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
# Building using Nuitka
|
||||||
|
|
||||||
|
## Installing Nuitka
|
||||||
|
|
||||||
|
Nuitka can be installed using pip -- I prefer not to do so globally, so I just run the module later on rather than the global `nuitka` command. Install Nuitka via:
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
pip install nuitka
|
||||||
|
```
|
||||||
|
|
||||||
|
## Building to a single executable
|
||||||
|
|
||||||
|
Again, if you install `nuitka` globally using the `-u` switch, then replace `python -m nuitka` with just `nuitka` 😉
|
||||||
|
|
||||||
|
```powershell
|
||||||
|
python -m nuitka `
|
||||||
|
--onefile `
|
||||||
|
--windows-console-mode=disable `
|
||||||
|
--standalone `
|
||||||
|
--enable-plugin=pyqt6 `
|
||||||
|
.\src\gui.py
|
||||||
|
```
|
||||||
Loading…
Reference in a new issue