diff --git a/README.md b/README.md index 100f072..be39ca7 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,8 @@ PyInstaller is used to build Windows executables and binaries for Linux/macOS. The use of CustomTkinter dictates that some extra options need to be defined to ensure non-Python files are included in the binary, otherwise they will not execute correctly. +**NOTE** when building on Linux, you must use a flavour of Linux with fontconfig version 2.13.1 or later, otherwise users of newer Linux flavours will receive warnings or exceptions relating to the "description" element in the configuration. + ### Build script A build script "build_app.py" has been written to make the build process simpler, and relies on a virtual environment being setup in a directory called "venv" within the EX-Installer repository directory. @@ -93,7 +95,7 @@ The script will refer to the "version.py" file mentioned above, so this needs to To run the script, you need to pass the EX-Installer repository directory and the platform being built for: ```shell -python build_app.py -D -P +python build_app.py -D -P ``` ### Building manually @@ -108,7 +110,6 @@ These directories are referenced in the commands below: - Win64 - Windows 64 bit - Win32 - Windows 32 bit - Linux64 - Linux 64 bit - - Linux32 - Linux 32 bit - macOS - macOS (64 bit only) The build commands should be executed in a command prompt or terminal window in the directory containing the cloned repository. diff --git a/build_app.py b/build_app.py index 93ec56b..625811f 100644 --- a/build_app.py +++ b/build_app.py @@ -37,8 +37,8 @@ # Create the argument parser and add the various required arguments parser = argparse.ArgumentParser() -parser.add_argument("-P", "--platform", help="Platform type: Win32|Win64|Linux32|Linux64|macOS", - choices=["Win32", "Win64", "Linux32", "Linux64", "macOS"], required=True, +parser.add_argument("-P", "--platform", help="Platform type: Win32|Win64|Linux64|macOS", + choices=["Win32", "Win64", "Linux64", "macOS"], required=True, dest="platform") parser.add_argument("-D", "--directory", help="Directory containing the cloned repository and virtual environment", required=True,