Skip to content

Commit

Permalink
Remove Linux32, note on fontconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
peteGSX committed Feb 8, 2024
1 parent 2a0d7eb commit 26c4b4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 <Directory path> -P <Win32|Win64|Linux32|Linux64|macOS>
python build_app.py -D <Directory path> -P <Win32|Win64|Linux64|macOS>
```

### Building manually
Expand All @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions build_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 26c4b4d

Please sign in to comment.