A successful py2app setup.py code

py2app and py2exe are how to compile a Python package bundle into a single file app. However, I had problem simply running py2applet --make-setup PatientLogbook.py database/user.db, so I have to edit the config file myself.

Root causes of the problem running python setup.py py2app include the following.