Package Details: python-pysimplegui 4.70.1-1

Git Clone URL: https://aur.archlinux.org/python-pysimplegui.git (read-only, click to copy)
Package Base: python-pysimplegui
Description: Super-simple to create custom GUI
Upstream URL: https://github.com/MikeTheWatchGuy/PySimpleGUI
Keywords: pysimplegui python
Licenses: LGPLv3+
Submitter: zhangshuoliang
Maintainer: None
Last Packager: dpeukert
Votes: 8
Popularity: 0.112186
First Submitted: 2018-09-23 13:08 (UTC)
Last Updated: 2024-07-23 16:59 (UTC)

Pinned Comments

SpotlightKid commented on 2024-07-23 12:43 (UTC)

To the user, who flagged this as out-of-date. The upstream project changed to a commercial license with version 5 and removed the source distribution of version 4 from PyPI and nuked the history of the Github repo.

I have no interest in maintaining a package of the commercial version, so I'm orphaning this now.

Latest Comments

SpotlightKid commented on 2024-07-23 12:43 (UTC)

To the user, who flagged this as out-of-date. The upstream project changed to a commercial license with version 5 and removed the source distribution of version 4 from PyPI and nuked the history of the Github repo.

I have no interest in maintaining a package of the commercial version, so I'm orphaning this now.

baronmog commented on 2024-05-23 18:55 (UTC)

Interesting. It was previously built and installed w/ python 3.11, the failures started after my system updated to python 3.12. After removing the cached package build and rebuilding and installing, it runs now.

baronmog commented on 2024-05-23 18:25 (UTC) (edited on 2024-05-23 18:29 (UTC) by baronmog)

This builds and installs, but is not usable. All of the installed executables fail with:

Traceback (most recent call last):
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/psgsettings", line 33, in <module>
    sys.exit(load_entry_point('PySimpleGUI==4.60.5', 'gui_scripts', 'psgsettings')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/psgsettings", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for PySimpleGUI

Other programs that try to import PySimpleGUI fail with:

ModuleNotFoundError: No module named 'PySimpleGUI'

a821 commented on 2024-02-17 15:08 (UTC)

Seems like upstream nuked their github repo and made the software non-free (starting from 5.0). The last free version is 4.60.5.

itoffshore commented on 2022-09-02 22:16 (UTC)

version 4.60.3 builds ok & imports fine too.

==> Creating package "python-pysimplegui"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: python-pysimplegui 4.60.3-0 (Fri 02 Sep 2022 23:12:43 BST)

jhincks commented on 2018-11-10 10:24 (UTC)

hi zhangshuoliang, i had a few small issues with the PKGBUILD - 'makepkg -si' finished with NO error - but pacman couldn't find it. I think i got it fixed - but i am not experienced at all in those things (this is in total my second post in the AUR...)

this one was working for me:

pkgname=('python-pysimplegui') _module='PySimpleGUI' pkgver=3.14.1 pkgrel=1 pkgdesc='The native GUI framework for perfectionists with deadlines.' arch=('any') license=('LGPLv3+') url='https://github.com/MikeTheWatchGuy/PySimpleGUI' depends=('tk' 'python') makedepends=('python-setuptools') checkdepends=('python-pytest-runner') source=(${pkgname}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/P/PySimpleGUI/PySimpleGUI-${pkgver}.tar.gz) sha256sums=('f500317c8f818cef39cc482d51b7e7376be821b6531d4a2f04b7211bc74dadb3')

build() { cd "${srcdir}/${_module}-${pkgver}" python setup.py build }

package() { cd "${srcdir}/${_module}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --skip-build }

i hope it might save you at least some minutes of time ;)