ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
349 stars 35 forks source link

App including PySide6 fails to setup.py #457

Open alfwatt opened 2 years ago

alfwatt commented 2 years ago

Example Code: https://github.com/alfwatt/py2app-pyside-recipe

    Traceback (most recent call last):
    File "/Users/alfwatt/Developer/utils/py2app-pyside-recipe/setup.py", line 14, in <module>
        setup(
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/core.py", line 148, in setup
        dist.run_commands()
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py2app/build_app.py", line 967, in run
        self._run()
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py2app/build_app.py", line 1197, in _run
        self.run_normal()
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/py2app/build_app.py", line 1431, in run_normal
        o = __import__(m)
    File "shibokensupport/signature/loader.py", line 93, in feature_import
    File "shibokensupport/feature.py", line 127, in feature_import
    IndexError: tuple index out of range
    make: *** [dist/TestPySideRecipe.app] Error 1

As noted in the readme and script there are also issues with from imports which I'm still looking into.