Shrink WinPhyton installation? Extract site-packages from .zip only on demand? · Issue #1425 · winpython/winpython
Repository navigation
Shrink WinPhyton installation? Extract site-packages from .zip only on demand? #1425
New issue
New issue
Open
Open
Shrink WinPhyton installation? Extract site-packages from .zip only on demand? #1425
Description
@pstein's profile pstein opened on Oct 23, 2024I installed recently to full WInPython v3.12.4 on my Windows 10 system.
As I noticed this installation requires huge 4,85 GB (!) disk space.
Ok, I still have 90 GB free on my 1 TB SSD. But I would feel better if it would be smaller.
Python is by far my biggest space consuming software on my disk/SSD.
I am thinking about how users can reduce disk space for WinPython.
Since I am not a heavy Python user but uses it only occasionally and only some packages I can think of the following mechanism:
All "site-packages" remain zipped until there are really imported in a Python script.
Only if a Python script runs which executes an import this (and only this !) package is extracted from *.zip archive.
Is this somehow possible?