spyoungtech / FreeSimpleGUI

The free-forever GUI library
GNU Lesser General Public License v3.0
272 stars 35 forks source link

Where is FreeSimpleGUI.py #17

Closed wrwetzel closed 2 months ago

wrwetzel commented 2 months ago

I found FreeSimpleGUIQt.py, FreeSimpleGUIWeb.py, and FreeSimpleGUIWx.py below similarly-named folders but I'm unable to find FreeSimpleGUI.py below the FreeSimpleGUI folder. I tried the .zip file and cloning the source.

Please help. Thanks, Bill

spyoungtech commented 2 months ago

Hi Bill,

In the current development version on the main branch, the primary FreeSimpleGUI package is no longer a single module. It is being refactored into a proper package with multiple modules. Hence, there is no single FreeSimpleGUI.py file available.

The last released version tag (v5.1.0) is still essentially a single module. It can be found here: https://github.com/spyoungtech/FreeSimpleGUI/blob/v5.1.0/FreeSimpleGUI/FreeSimpleGUI.py -- but this will be the last version where this is the case.

Moving forward, to ensure the maintainability of the package, FreeSimpleGUI will be a package with multiple internal modules, though its interface will otherwise remain unchanged (that is to say, it should not be a breaking change) and the recommended way of using FreeSimpleGUI is to install it using a package manager like pip -- like other Python packages, ideally you shouldn't need to download the source from GitHub manually to use it.

Hope that helps. If you have any other questions, feel free to ask.

wrwetzel commented 2 months ago

Thanks for your detailed answer. Unfortunately pip complains: error: externally-managed-environment on Arch. One option is to install in a virtual environment or I could, and probably will, wait until python-freesimplegui makes it into the Arch repository, as is the case for python-pysimplegui.

Thanks again, Bill