gimp/data/environ
Bruno 16dc7b4047 build/windows: Debloat 'lib/python3.11' bundling
After running almost all the py plug-ins, I noticed that few py modules and
pkgs are used to justify the need of a slightly faster build time with .pyc.
In the actual bloated status (with all .pyc), lib/python* is about 260 MB big.
With the bare minimum .pyc after the tests above, python*/ is less than 90.

So, let's purge the .pyc at bundling time (I'm not reinventing the wheel,
Krita do this too), which reduces the .zip bundles (so the Inno and MSIX
installs) in 170MB, the Installer .exe in 45MB and MSIX download in 60MB.

---

Let's also disable any .pyc generation, since GIMP installed with Inno in the
system-wide (aka admin) mode or installed with MSIX both doesn't handle well:
py plug-ins work but have CLI errors, unlike Inno user-mode and .zip bundle.
2024-06-23 14:09:22 +00:00
..
default.env.in data: Generate .env files at build time 2024-04-18 19:04:25 +00:00
meson.build data: Restrict 'default.env' to relocatable builds 2024-04-19 22:25:18 +00:00
pygimp.env build/windows: Debloat 'lib/python3.11' bundling 2024-06-23 14:09:22 +00:00
python.env data: add python.env to set up the GI_TYPELIB_PATH to Gimp-3.0.typelib 2019-08-04 18:20:25 +02:00