Commit 7ad1851
committed
switching to pip install directly in AppImage
The previous solution of doing the `pip install` with the system's python, then rsync'ing into the AppImage had a couple issues:
1. It was overwriting bin/python3.7 with a symlink back outside the AppImage, totally defeating the purpose of the AppImage and causing issues with systems that don't have python3.7 installed (see maltfield#4)
2. It means that the system must have the same python version as the python version that's in our base python AppImage
I'm attempting to do this the proper way, but it's currently failing on my local system with this error:
+ /tmp/appimagetool.AppImage /tmp/kivy_appdir dist/helloWorld.AppImage
appimagetool, continuous build (commit effcebc), build 2084 built on 2019-05-01 21:02:41 UTC
WARNING: appstreamcli command is missing, please install it if you want to use AppStream metadata
Using architecture x86_64
/tmp/kivy_appdir should be packaged as dist/helloWorld.AppImage
AppStream upstream metadata found in usr/share/metainfo/python3.7.8.appdata.xml
Generating squashfs...
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on dist/helloWorld.AppImage, block size 131072.
[===========================================- ] 3820/5306 71%
FATAL ERROR:gzip uncompress failed with error code -3
Embedding ELF...
Not able to open the AppImage for writing, aborting
I'm hoping that this is a memory-bound issue and it will "just work" on the GitHub shared runner cloud *fingers crossed*
* AppImage/AppImageKit#398 (comment)1 parent 7408659 commit 7ad1851
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
0 commit comments