Package: psgcompiler
psgcompilerA PySimpleGUI ApplicationPySimpleGUI "Compiler""Compile" your Python programs into a Windows EXE, a Mac APP, and a Linux binary!Adds a user-friendly GUI to the popular PyInstaller python packageFeaturesCreates single file distribution files for Windows, Mac, and LinuxPySimpleGUI front end for PyInstallerAll the capabilities of PyInstaller with the ease of a GUIInstallationUsing PIP with PyPIThe latest official release of PySimpleGUI products can be found on PyPI.  To pip install the demo applications from PyPI, use this commandIf you use the commandpythonon your computer to invoke Python (Windows):python -m pip install --upgrade psgcompilerIf you use the commandpython3on your computer to invoke Python (Linux, Mac):python3 -m pip install --upgrade psgcompilerUsing PIP with GitHubYou can also pip install the PySimpleGUI Applications that are in the PySimpleGUI GitHub account.  The GitHub versions have bug fixes and new programs/features that have not yet been released to PyPI. To directly pip install from that repo:If you use the commandpythonon your computer to invoke Python (Windows):python-mpipinstall--upgradehttps://github.com/PySimpleGUI/psgcompiler/zipball/mainIf you use the commandpython3on your computer to invoke Python (Linux, Mac):python3-mpipinstall--upgradehttps://github.com/PySimpleGUI/psgcompiler/zipball/mainUsageOnce installed, launch psgcompiler by typing the following in your command line:psgcompilerPyInstallerBack-end with aPySimpleGUIFront-endThe plan forpsgcompileris to provide a GUI interface for a number of the tools available to convert a Python program into a binary executable.  PyInstaller was chosen as the first back-end tool that does the heavy-lifting of converting your code into a binary executable.  The next one being added iscx_freeze.psgcompilercollects the options that are assembled into the command that can then be run for you by launching a subprocess.  You will see the command being built as you add or remove items using the GUI.  You can run PyInstaller manually using the options shown in the "Command" box.  Typepyinstalleron the command line and paste the text you see under "Command" in the Home tab of the psgcompiler program.PyInstaller transforms your Python project into an executable that you can distribute to friends, family members, colleagues, the public, other developers, ...  Anyone that does not have Python installed on their machine will be able to run your program after you've turned it into a binary executable.PySimpleGUI users in particular will greatly benefit frompsgcompileras you'll be able to distribute "Windows Programs".  Most likely no one will know you're using Python.  On Windows, you can create a single EXE file. One-file is the default setting.  After converting, you'll be left with a single EXE file.A Multitude Of OptionsPyInstallerhas a sh*t-ton of options!  Unlike the primitive EXE Maker that the PySimpleGUI project created, thepsgcompilerexposes all of the options in an easy to use way.Simple Interface, Complex SettingsWhilepsgcompilermakes it easy to specify the many options available for PyInstaller, it doesn't remove the complexity that comes with using PyInstaller.Please refer to thePyInstaller documentationto better understand the available options.  It can be tricky to convert some programs, particularly if you're using other Python packages in addition to PySimpleGUI.All Python Programs Welcomed...Your Python program doesn't have to use PySimpleGUI in order to use thepsgcompilertool.  PySimpleGUI is being used to give you a GUI front-end to PyInstaller.  There is no requirement that your program use PySimpleGUI.Troubleshooting PyInstaller ProblemsWhen it comes to PyInstaller use, I'm a user of PyInstaller, just as you are.  The PySimpleGUI project isn't populated with PyInstaller experts.  You'll need to use your programming prowess to find answers to problems you may encounter using PyInstaller.We're making it easy for you to run PyInstaller, and soon additional similar utilities, but that doesn't mean it's going to be easy overall.The PyInstaller documentation is well-written and can be found here:https://pyinstaller.readthedocs.io/en/stable/A Simple EXEIf your program is relatively simple, then you only need to supply the name of your Python file, and an optional icon file.Here is an example session showing only the .pyw file and the .ico file being supplied.Additional Back-endsCurrently in the works is support for additional back-ends.cx_freezeis up next.Create a Shortcut To This ProgramIf you're a Windows user, then use thepsgshortcutapplicationto make a shortcut to this program so that you can then put on your desktop or pin to your taskbar (or any  other use that stops the need to typepsgcompilerever again).License & CopyrightCopyright 2023-2024 PySimpleSoft, Inc. and/or its licensors.This is a free-to-use "Utility" and is licensed under the
PySimpleGUI License Agreement, a copy of which is included in the
license.txt file and also available athttps://pysimplegui.com/eula.Please see Section 1.2 of the license regarding the use of this Utility,
and seehttps://pysimplegui.com/faqfor any questions.ContributingWe are happy to receive issues describing bug reports and feature
requests! If your bug report relates to a security vulnerability,
please do not file a public issue, and please instead reach out to us
atissues@PySimpleGUI.com.We do not accept (and do not wish to receive) contributions of
user-created or third-party code, including patches, pull requests, or
code snippets incorporated into submitted issues. Please do not send
us any such code! Bug reports and feature requests should not include
any source code.If you nonetheless submit any user-created or third-party code to us,
(1) you assign to us all rights and title in or relating to the code;
and (2) to the extent any such assignment is not fully effective, you
hereby grant to us a royalty-free, perpetual, irrevocable, worldwide,
unlimited, sublicensable, transferrable license under all intellectual
property rights embodied therein or relating thereto, to exploit the
code in any manner we choose, including to incorporate the code into
PySimpleGUI and to redistribute it under any terms at our discretion.