Closed a2435191 closed 3 years ago
What error do you get if you start the application from the command line? That is, run "dist/TestApplication.app/Contents/MacOS/TestApplication" from the command-line. This should print a clearer error than just opening the app bundle.
What version of python and py2app do you use?
The "wheel package unavailable" message is likely due to not having py2app installed, I get the same error when testing in a fresh virtual environment. "setup_requires" can be a little too magic at times...
:\Users\d\Desktop\management-system-13.0\venv\Scripts\python.exe C:/Users/d/Desktop/management-system-13.0/setup/mgmtsystem/setup.py WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. WARNING: The wheel package is not available. error in setup command: C:\Users\d\Desktop\management-system-13.0\setup\mgmtsystem\odoo\addons must contain exactly one installable Odoo addon dir, found []
Process finished with exit code 1
this Is what I get when I try running setup for the mgt system
@Daud-stack : your appear to run python on a windows machine. Py2app does not support cross-building and must be run and installed on a macOS system. Furthermore ensure that py2app is installed before running "python3 setup.py py2app".
Noted thank you
On Sun, Jan 15, 2023, 22:50 Ronald Oussoren @.***> wrote:
@Daud-stack https://github.com/Daud-stack : your appear to run python on a windows machine. Py2app does not support cross-building and must be run and installed on a macOS system. Furthermore ensure that py2app is installed before running "python3 setup.py py2app".
— Reply to this email directly, view it on GitHub https://github.com/ronaldoussoren/py2app/issues/304#issuecomment-1383249841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN6DT5O7TRAWE3KYCRTXJHDWSRPKPANCNFSM4PSWH5AQ . You are receiving this because you were mentioned.Message ID: @.***>
I made a very basic testing script for
py2app
. Here is the fileTestApplication.py
:And here is
setup.py
:When I run the command
python setup.py py2app -A
in Terminal, I get the following output:Then when I run
TestApplication.app
, I get aTestApplication Error
. I assume this has to do with the "missing wheels" messages at the start. How do I fix this?