I've been doing housekeeping on "Pip install Leo" stuff and decided I'd 
take a look at the size of what's created. I was some surprised: a total 
environment for Leo weighs in at 433 MB!  (On Windows 10 x64, py3.6).

What is a total environment? Python, Leo, all (currently mandatory) 
dependencies. Actually "total" is a misnomer because this doesn't included 
some of the optional dependencies the plugins and extra developer tools and 
plugins. Leo itself is ~8% of the total.

35 MB - Leo
90 MB - Python and essentials like pip
308 MB - dependencies

Actual size on disk will be larger and vary from machine to machine because 
of cluster size etc. (485 MB in my case). On a well set up shared-system 
machine Python will be used by other programs, as will many of the 
libraries (Requests for instance is wildly popular). However it's also 
increasingly popular for each app to be have it's own complete environment 
to itself (in order to combat what's called DLL-hell in the Windows world). 
It's this latter scenario that's described.

How I measured:

   - Create an empty environment, measure
   - Install pip (which installs python and other essentials), measure
   - Install Leo (using recommended pip install method) measure
   
Command line:

conda create -n minimal

activate minimal

du c:\apps\miniconda3\envs\minimal

conda install pip

du c:\apps\miniconda3\envs\minimal

pip install D:\code\dist\leo-5.8.1b1.dev1071-py2.py3-none-any.whl

du c:\apps\miniconda3\envs\minimal

du c:\apps\miniconda3\envs\minimal\Lib\site-packages\leo


Example usage report:

> du c:\apps\miniconda3\envs\leo-whl-test\Lib\site-packages\leo

DU v1.61 - Directory disk usage reporter
Copyright (C) 2005-2016 Mark Russinovich
Sysinternals - www.sysinternals.com

Files: 4754
Directories: 332
Size: 35,043,888 bytes
Size on disk: 51,601,408 bytes

Attached is the list of everything installed.


Matt

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.
alabaster                0.7.12
astroid                  2.1.0
Babel                    2.6.0
certifi                  2018.11.29
chardet                  3.0.4
colorama                 0.4.1
decorator                4.3.2
dialite                  0.5.2
docutils                 0.14
flexx                    0.7.1
idna                     2.8
imagesize                1.1.0
ipython-genutils         0.2.0
isort                    4.3.4
Jinja2                   2.10
jsonschema               2.6.0
jupyter-core             4.4.0
lazy-object-proxy        1.3.1
leo                      5.8.1b1.dev1071
MarkupSafe               1.1.0
mccabe                   0.6.1
nbformat                 4.4.0
packaging                19.0
pip                      19.0.1
pscript                  0.7.0
pyflakes                 2.1.0
Pygments                 2.3.1
pylint                   2.2.2
pyparsing                2.3.1
PyQt5                    5.11.3
PyQt5-sip                4.19.13
pytz                     2018.9
requests                 2.21.0
setuptools               40.7.3
six                      1.12.0
snowballstemmer          1.2.1
Sphinx                   1.8.4
sphinxcontrib-websupport 1.1.0
tornado                  5.1.1
traitlets                4.3.2
typed-ast                1.3.1
urllib3                  1.24.1
webruntime               0.5.6
wheel                    0.32.3
wincertstore             0.2
wrapt                    1.11.1

Reply via email to