To use the py2app framework you must install it first. Do this by opening terminal and entering the following command:
sudo easy_install -U py2app
You can also pip install the packages as :
pip install py2app
Then create the setup file for your python script:
py2applet --make-setup MyAppli...
Install cx_Freeze from here
Unzip the folder and run these commands from that directory:
python setup.py build
sudo python setup.py install
Create a new directory for your python script and create a "setup.py" file in the same directory with the following content:
application_title ...