I just pushed 51ca4f21b956beced0951de02a399e56a070ca01 which contains
generic install-from-source instructions for all platforms. It might need
some format tuning and perhaps other edting. I think it could replace or be
merged with a couple of the following nodes. Or at least something to
improve the flow and reduce redundancy. Have at 'er. ;-)
*.../leo-editor/leo/doc/LeoDocs.leo#Leo's Documentation-->Installing &
running Leo-->@rst html/installing.html-->Installing Leo
itself-->Installing Leo from sources (all platforms)*
QQQ
Generic recipe for all platforms. Adjustment for local norms is expected.
For example `7z` could be `unzip` or interactive extraction and `wget`
could be a browser download.
Linux: it's generally advised to use pip ``--user`` flag instead of `sudo`.
Assumes **Python 3.6+** is installed and in PATH.
Installing from source code into a new environment must be done in discrete
steps: **download**, **unpack archive**, and **install as editable** mode.
Example::
wget https://github.com/leo-editor/leo-editor/archive/devel.zip
7z x devel.zip -o C:\apps
pip install --editable C:\apps\leo-editor-devel
For easier upgrading substitute ``git clone`` for wget & 7z steps::
git clone --single-branch -b devel --depth=200
https://github.com/leo-editor/leo-editor.git
pip install --editable leo-editor
time passes, upgrade desired::
pushd c:\apps\leo-editor
git pull
pip uninstall leo
pip install --editable .
`single-branch`, `b` and `depth` are all optional, but will dramatically
speed up download time as it only grabs the latest development branch and
skips all but the last couple weeks or months of history.
###
Note
###
Direct ``pip install
https://github.com/leo-editor/leo-editor/archive/devel.zip`` does *not*
work. For proper operation Leo relies on presence of certain files outside
of the standard Python `site-packages` folder structure.
See `Running Leo`_ for how to run Leo after installing it.
QQQ
-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 view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/32599d20-2144-4fe5-a879-95f29997f1c0%40googlegroups.com.