I have a python code which uses the pygkt, gtk, ctypes, os and some other modules. I used pyinstaller to create a stand-alone executive of the code. It worked fine on ubuntu
I'd recommend using pyinstaller
Example:
$ pip install pyinstaller $ pyinstaller -F myscript.py
You should now have a build/myscript/myscript.exe executable.
build/myscript/myscript.exe