Syncplay / syncplay

Client/server to synchronize media playback on mpv/VLC/MPC-HC/MPC-BE on many computers
http://syncplay.pl/
Apache License 2.0
2.1k stars 214 forks source link

Use PyInstaller or cx_Freeze instead of py2exe #41

Closed cryzed closed 7 years ago

cryzed commented 10 years ago

Using PyInstaller or cx_freeze would allow you to create binaries for every supported system. A small comparison between common tools used to achieve this can be found here. Looking at the table it seems that cx_Freeze would be the best solution all-around, even with eventual Python 3 support, although I have never used it myself and trying to install it on an current Ubuntu 14.04 system raises compilation errors even with the required packages installed.

PyInstaller on the other hand I have used, and creating a stand-alone binary is often as simple as running:

pyinstaller <script.py>

Additionally if the "--onefile" option is passed, it can even create single-file executables, which I imagine would be especially useful for the server.

Et0h commented 6 years ago

Discussions on moving from Python 2.7 to Python 3 can take place at https://github.com/Syncplay/syncplay/issues/169