How to Make Python Scripts Executable Using Cx Freeze on Ubuntu 14.04? [Closed]
I Want to Convert My Python Project into a Binary Executable Using Cx Freeze on Ubuntu 14.04. How to Do I Run Cx Freeze on Ubuntu? ?? 1 Answer Sudo Apt Install...
I want to convert my python project into a binary executable using CX Freeze on Ubuntu 14.04. How to do I run CX Freeze on Ubuntu???
sudo apt install cx-freeze
cxfreeze myscript.py
There are a load of options for customising this but for a simple script, that should do it. If it's not working, check out the documentation or read man cxfreeze.
Anyway, when it works it generates a directory called dist that contains an executable (based on the name of the script) and everything it needs to run. To execute from the current directory, just run:
./dist/myscript