-
Notifications
You must be signed in to change notification settings - Fork 315
Shrink WinPhyton installation? Extract site-packages from .zip only on demand? #1425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Question has been raised on Pip per another person, in may 2023: pypa/pip#12022 |
You can uninstall packages, and compat a "reduce version" of WinPython. The trend of ever-bigger distro comes from:
Your other alternative is to :
|
As far as I understand the *.pyc files resp. pycache folder contains pre-compiled *.py lib files. And what about the other invers side: |
for now, you have the solution to get a small winpython "dot", and get whatever you want in the requirements with hash after see https://github.com/winpython/winpython/releases/tag/15.3.20250425final you will just miss pandoc.exe |
I 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?
The text was updated successfully, but these errors were encountered: