Tilengine - The 2D retro graphics engine forum
Creating Executables for Python Game - Printable Version

+- Tilengine - The 2D retro graphics engine forum (http://tilengine.org/forum)
+-- Forum: English forums (http://tilengine.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (http://tilengine.org/forum/forumdisplay.php?fid=7)
+--- Thread: Creating Executables for Python Game (/showthread.php?tid=446)



Creating Executables for Python Game - Daniel H. - 12-30-2019

I have a Python game which uses the PyTilengine bindings. I would like to package this game into cross-platform executables. What I would like to know is how I would go about doing this, seeing as Tilengine is a separate C library. I know about PyInstaller, but it only works with certain supported Python packages, and not separate C libraries. Are there any other tools available that can help me achieve this?


RE: Creating Executables for Python Game - megamarc - 12-31-2019

This is a purely Python-related question so I can't give much advice here. Maybe you're looking for python wheels (https://pythonwheels.com/), the standard way to distribute python packages with prebuilt native C libraries. Do you know about this standard? Does it fit your need?


RE: Creating Executables for Python Game - Daniel H. - 12-31-2019

Thanks for your reply. Yes, I am familiar with Wheels, but that is for distributing the project as a Python package. But I managed to figure out that PyInstaller is what is needed in the end