Hello Matt,
Am Samstag, 12. Oktober 2019 14:10:24 UTC+2 schrieb Viktor Ransmayr:
>
> Hello Matt, hello Edward,
>
> Am Do., 10. Okt. 2019 um 10:30 Uhr schrieb Matt Wilkie <[email protected]>:
>
>> 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. ;-)
>>
>
> @Matt: Thanks for this. - I'll provide my feedback in the context of my
> attempt to install a version of the Leo Developement Branch in a new Python
> Virtual Environment (PyVE) without the need to use git as a Leo Newbie /
> Non Leo Developer ...
>
Here's an **intermediate** status report, which show very nicely how
difficult it is to create correct & precise documentation.
TL;DR : I ran into unforseen problems, since I don't use theWindows Command
Prompt but use PowerShell as my default console in Windows.
Longer version of the story:
I tried to follow your instructions as closely as possible:
::
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
Here are the steps that I performed:
1) Create & activate a new PyVE. - OK. - See "Log-001"
2) Download & install wget. - Not OK. - See "Log-002"
3) It looks like you don't even have to install 'wget' if you are a PS
user. - Partially OK. - See "Log-003"
I'll only publish Log-002 & Log-003 here, since they contain the
interesting content ...
Now I'll continue to try to get a version of the Leo Developement Branch in
a new Python Virtual Environment (PyVE) working without the need to use git
as a Leo User ...
With kind regards,
Viktor
###
<Log-002>
* Verify availability of 'wget' in the PyVE - No OK. - See below:
::
Windows PowerShell
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
Lernen Sie das neue plattformübergreifende PowerShell kennen –
https://aka.ms/pscore6
PS C:\Users\Viktor> cd pyve/github/leo-devel
PS C:\Users\Viktor\pyve\github\leo-devel> wget --version
wget : Der Remotename konnte nicht aufgelöst werden: '--version'
In Zeile:1 Zeichen:1
+ wget --version
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation:
(System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId :
WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
PS C:\Users\Viktor\pyve\github\leo-devel>
</Log-002>
<Log-003>
PS C:\Users\Viktor\pyve\github\leo-devel> wget
Cmdlet Invoke-WebRequest an der Befehlspipelineposition 1
Geben Sie Werte für die folgenden Parameter an:
Uri: https://github.com/leo-editor/leo-editor/archive/devel.zip
StatusCode : 200
StatusDescription : OK
Content : {80, 75, 3, 4...}
RawContent : HTTP/1.1 200 OK
Transfer-Encoding: chunked
Access-Control-Allow-Origin:
https://render.githubusercontent.com
Content-Security-Policy: default-src 'none'; style-src
'unsafe-inline'; sandbox
Strict-...
Headers : {[Transfer-Encoding, chunked],
[Access-Control-Allow-Origin,
https://render.githubusercontent.com],
[Content-Security-Policy, default-src 'none'; style-src
'unsafe-inline'; sandbox], [Strict-Transport-Security,
max-age=31536000]...}
RawContentLength : 11727380
PS C:\Users\Viktor\pyve\github\leo-devel>
ls
Verzeichnis: C:\Users\Viktor\pyve\github\leo-devel
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 12.10.2019 14:30 Include
d----- 12.10.2019 14:30 Lib
d----- 12.10.2019 14:30 Scripts
-a---- 12.10.2019 14:30 85 pyvenv.cfg
PS C:\Users\Viktor\pyve\github\leo-devel>
###
It is unclear where to 'devel.zip' got copied to? - Investigate ...
</Log-003>
--
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/d0b74ff5-8e5b-4fd1-ab2f-960f677d54c6%40googlegroups.com.