From c1fa299840cda2e8fe6b4e31a9c41030e64361d6 Mon Sep 17 00:00:00 2001 From: oitsjustjose Date: Sat, 22 Mar 2025 18:11:14 -0500 Subject: [PATCH] Update gitignore, add building options --- .gitignore | 8 +++++--- BUILDING.md | 22 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 BUILDING.md diff --git a/.gitignore b/.gitignore index aa5f5ba..ec8869d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ +__pycache__ /.venv -/Python +/*.build +/*.dist +/htdemucs_ft /input /output -/htdemucs_ft -__pycache__ \ No newline at end of file +/Python \ No newline at end of file diff --git a/BUILDING.md b/BUILDING.md new file mode 100644 index 0000000..75815d5 --- /dev/null +++ b/BUILDING.md @@ -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 +```