Update gitignore, add building options

This commit is contained in:
oitsjustjose 2025-03-22 18:11:14 -05:00
commit c1fa299840
2 changed files with 27 additions and 3 deletions

8
.gitignore vendored
View file

@ -1,6 +1,8 @@
__pycache__
/.venv
/Python
/*.build
/*.dist
/htdemucs_ft
/input
/output
/htdemucs_ft
__pycache__
/Python

22
BUILDING.md Normal file
View 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
```