Skip to content

v0.28

Compare
Choose a tag to compare
@ronaldoussoren ronaldoussoren released this 10 Apr 08:45
· 124 commits to master since this release

NOTE: This is the last version of py2app with compatibility with Python 2.7. Future versions will require Python 3.6 or later.

  • PR #410: Fix typo in NamedTemporyFile call

    PR by MAKOMO

  • #414 Workaround for autodiscovery in setuptools 61.0

    Setuptools 61.0 introduces autodiscovery of distribution
    attributes, and that broke py2app. This version introduces
    a setuptools.finalize_distribution_options entrypoint
    in py2app that will set the distributions's name and
    py_modules attributes in a way that is compatible with
    the main code of py2app when they are not yet set (before
    autodiscovery kicks in).

    In older versions of py2app buildin an app can fail in two
    ways with setuptools 61.0 or later:

    • The name of the generated application is not based on
      the script name, but some other value.

    • Calling python setup.py py2app results in an error
      mentioning Multiple top-level modules discovered.

  • PR #418: Add recipe for black

    PR by mrclary

  • #417: Also include package dist-info for editable installs

  • The qt5 and qt6 recipes used dodge logic to detect
    if the Qt library itself is inside the python package,
    resulting in duplicate copies of Qt.

  • #406: Fix incompatibility with python 2.7

    py2app 0.24 accidently broke compatibility with Python 2.7, and
    this release fixes this.

    This is the last release with Python 2.7 support, the next
    release will contain package metadata that ensures it can
    only be installed on Python 3.

  • #413: Find dist-info in included pythonXX.zip

    By default the working_set of pkg_resources does not contain
    distribution information from packages included in zip files, such
    as the zipped-up stdlib + site-pakckages in py2app bundles.

    Add some monkey patching to apps using pkg_resources to fix this.

  • Fix hard crash in "rtree" recipe when the package contents doesn't
    match the recipe expectations.

  • #408: Add definition of site.PREFIXES

  • #412: Fix incompatibility with setuptools 60.8.1

    The setuptools recipe did not recoginize all vendored dependencies
    in pkg_resources and that breaks app bundles that use pkg_resoures.

  • PR #388: Add builtin definitions for 'quit' and 'exit' in site.py

    PR by mcclary

  • PR #388: Set "ENABLE_USER_SITE=False" in site.py

    PR by mcclary

  • PR #396: Update pygame recipe to remove missing icon

    PR by glyph