You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
1364e7538a
2.9.x
283
3.0.x
3.1
3.2.x
3.3.3.1
bip39-recovery
coincointrol-statusbar
dependabot/pip/contrib/deterministic-build/ecdsa-0.13.3
hard-fail-on-bad-server-string
ln-negative-red
master
password_lineedit
patch-1
patch-2
patch-3
patch-4
regtest_lnd
seed_v14
sqlite_db
ssl-fingerprint-check
0.56
0.57
0.57a
0.57b
0.57c
0.58
0.59
0.59a
0.59b
0.60
0.61-r1
0.61b
1.1
1.2
1.3
1.5
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.5.8
1.6.0
1.6.1
1.6.2
1.7
1.7.1
1.7.2
1.7.3
1.7.4
1.7rc0
1.8
1.8.1
1.9
1.9.1
1.9.2
1.9.3
1.9.4
1.9.5
1.9.6
1.9.7
1.9.8
2.0
2.0-beta
2.0.1
2.0.2
2.0.3
2.0.4
2.0b2
2.0b3
2.1
2.1.1
2.2
2.3
2.3.1
2.3.2
2.3.3
2.4
2.4.1
2.4.2
2.4.3
2.5
2.5.1
2.5.2
2.5.3
2.5.4
2.6
2.6.1
2.6.2
2.6.3
2.6.4
2.7.0
2.7.1
2.7.10
2.7.11
2.7.12
2.7.13
2.7.14
2.7.15
2.7.16
2.7.17
2.7.18
2.7.2
2.7.3
2.7.4
2.7.5
2.7.6
2.7.7
2.7.8
2.7.9
2.8.0
2.8.1
2.8.2
2.8.3
2.9.0
2.9.1
2.9.2
2.9.3
2.9.4
3.0.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.1.0
3.1.1
3.1.2
3.1.3
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
password_v2
seed_v10
seed_v5
seed_v7
seed_v8
seed_v9
${ noResults }
SomberNight
634611272a
4.1.5->4.2.1, the appimage grew 54M->66M. This change shrinks it back to 58M. ``` $ ls -lah total 224M drwxrwxr-x 5 user user 4.0K Mar 27 18:18 . drwxrwxr-x 16 user user 4.0K Mar 23 16:02 .. -rwxrw-r-- 1 user user 48M Dec 18 2020 electrum-4.0.9-x86_64.AppImage -rwxrw-r-- 1 user user 54M Jan 19 14:25 electrum-4.1.5-x86_64.AppImage -rwxr-xr-x 1 user user 58M Mar 27 18:12 electrum-4.2.1-dirty-x86_64.AppImage -rwxrw-r-- 1 user user 66M Mar 27 15:00 electrum-4.2.1-x86_64.AppImage ``` I've used the great `ncdu` tool to investigate file sizes. ``` $ du squashfs-root-415/usr/lib/python3.7/ --max-depth=1 | sort -nr | head -n8 154608 squashfs-root-415/usr/lib/python3.7/ 138864 squashfs-root-415/usr/lib/python3.7/site-packages 4720 squashfs-root-415/usr/lib/python3.7/lib-dynload 1744 squashfs-root-415/usr/lib/python3.7/encodings 664 squashfs-root-415/usr/lib/python3.7/pydoc_data 460 squashfs-root-415/usr/lib/python3.7/distutils 460 squashfs-root-415/usr/lib/python3.7/asyncio 436 squashfs-root-415/usr/lib/python3.7/email $ du squashfs-root-421/usr/lib/python3.9/ --max-depth=1 | sort -nr | head -n8 194088 squashfs-root-421/usr/lib/python3.9/ 143512 squashfs-root-421/usr/lib/python3.9/site-packages 33824 squashfs-root-421/usr/lib/python3.9/config-3.9-x86_64-linux-gnu 5244 squashfs-root-421/usr/lib/python3.9/lib-dynload 1720 squashfs-root-421/usr/lib/python3.9/encodings 696 squashfs-root-421/usr/lib/python3.9/pydoc_data 520 squashfs-root-421/usr/lib/python3.9/asyncio 464 squashfs-root-421/usr/lib/python3.9/distutils ``` We should delete `usr/lib/python3.9/config-3.9-x86_64-linux-gnu/` (which is 33M unpacked) With py3.7 (electrum 4.1.5), this folder was named `config-3.7m-x86_64-linux-gnu`, presumably because the default config to compile py3.7 was `--with-pymalloc`, but maybe it is not for py3.9... ? not sure. (see https://peps.python.org/pep-3149/ ) |
3 years ago | |
---|---|---|
.. | ||
appimage | build appimage: make binary somewhat smaller by excluding stuff | 3 years ago |
sdist | contrib: add docker_notes.md | 3 years ago |