Skip to content

Compile client to executable

Michele Cisternino edited this page Feb 13, 2018 · 6 revisions

Once the client is generated you can use pyinstaller to compile it on windows, linux and mac.

Pyinstaller is not cross-compiler, so you have to compile client.py on the system you want the executable to be compatible with.

Install requests

pip install requests

Install pyinstaller

pip install pyinstaller

Compile to executable

pyinstaller -F <client>

Create an exe that doesn't show the console at startup

pyinstaller -F -w <client>

More info here.