Remove the pyinstaller setup functions

This commit is contained in:
Veronica K. B. Olsen
2021-02-05 17:27:56 +01:00
parent f8ef3e6754
commit be080b1463
3 changed files with 21 additions and 248 deletions
+6 -13
View File
@@ -8,6 +8,10 @@ The root folder of the repository contains two scripts for setup and install:
The `setup.py` is a standard Python setup script with a couple of additional
options:
Some of the commands can be targeted towards a different OS than the host OS.
To target the command, add one of `--target-linux`, `--target-darwin` or
`--target-win`.
### General
`help` Print the help message.
@@ -32,13 +36,9 @@ the other source files.
`pack-pyz` Creates a pyz package in a folder with all dependencies using the
zipapp tool. On Windows, python embeddable is added to the folder.
`freeze` Freeze the package and produces a folder with all dependencies using
the pyinstaller tool. This option is not designed for a specific OS.
`setup-pyz` Build a Windows installer from a zipapp package using Inno Setup.
`onefile` Build a standalone executable with all dependencies bundled using
the pyinstaller tool. Implies `freeze`, cannot be used with `setup-exe`.
### General Installers
### System Install
`install` Installs novelWriter to the system's Python install location. Run
as root or with sudo for system-wide install, or as user for single user
@@ -48,10 +48,3 @@ install.
or with sudo for system-wide install, or as user for single user install.
`win-install` Install desktop and start menu icons for Windows systems.
### "Windows Installers
`setup-exe` Build a Windows installer from a pyinstaller freeze package using
Inno Setup. This option automatically disables `onefile`.
`setup-pyz` Build a Windows installer from a zipapp package using Inno Setup.