mapeditor/tiled

Make the Python plugin work in the Ubuntu snap

Open

#2.142 geöffnet am 17. Juni 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (1.708 Forks)batch import
help wanted

Repository-Metriken

Stars
 (10.413 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 4h) (17 gemergte PRs in 30 T)

Beschreibung

I have made some attempts at shipping the Python plugin in the snap, but the simply approach of building against Python and then relying on the system Python at runtime doesn't work (like it does for the AppImage):

https://github.com/bjorn/tiled/blob/9df61be40c061289cb842f5709adbf6b9ec1e8a2/snap/snapcraft.yaml#L42-L44

Probably we need to ship a complete Python runtime environment rather than trying to rely on a system-installed Python on the user's side.

Shipping a Python runtime would also fix compatibility issues we're currently having if the system Python version is different from the one Tiled was compiled against (those issues also affect the AppImage and the Windows installer package).

Contributor Guide