Leo 5.7b2 on PyPi - please test

42 views
Skip to first unread message

Matt Wilkie

unread,
Feb 24, 2018, 8:56:51 PM2/24/18
to leo-e...@googlegroups.com
Hi Folks,

I've uploaded `leo-5.7b2.dev27` to PyPi.org. It installs successfully on Win7x64 for Python 3.6 and Python 2.7. It should work on Win10 and Linux also, can anyone confirm that? Run the command below from your desired command shell:

End user install:

pip install leo

Developer install:

git clone --depth=50 https://github.com/leo-editor/leo-editor.git
pip install
--editable .\leo-editor


Completely new bare bones Anaconda environment example:

conda create --name Leo-test-py36 --python=36
activate
Leo-test-py36
conda install pip
conda install pyqt
pip install leo
leo
-console --version
deactivate


conda create --name Leo-test-py27 --python=27
activate Leo-test-py27
conda install pip
conda install pyqt
pip install leo
leo
-console --version
deactivate

Thanks!

matt

Edward K. Ream

unread,
Feb 25, 2018, 3:44:20 AM2/25/18
to leo-editor
On Sat, Feb 24, 2018 at 7:56 PM, Matt Wilkie <map...@gmail.com> wrote:
Hi Folks,

I've uploaded `leo-5.7b2.dev27` to PyPi.org. It installs successfully on Win7x64 for Python 3.6 and Python 2.7. It should work on Win10 and Linux also, can anyone confirm that?

​Many thanks, Matt, for this work.  I'll test this later today or tomorrow.

Edward

lewis

unread,
Feb 25, 2018, 5:05:28 AM2/25/18
to leo-editor
Hi Matt,

I upgraded my existing leo pip installation on my Win10 Python3 machine.
pip install --upgrade leo

It installed the new package requirement 'semantic-version'. Here is the pip log:
[snip]
Installing collected packages: semantic-version, sphinx, leo
  Found existing installation: Sphinx 1.7.0
    Uninstalling Sphinx-1.7.0:
      Successfully uninstalled Sphinx-1.7.0
  Found existing installation: leo 5.7.dev406
    Uninstalling leo-5.7.dev406:
      Successfully uninstalled leo-5.7.dev406
Successfully installed leo-5.7b2.dev27 semantic-version-2.6.0 sphinx-1.7.1
[end]

However there is no launchleo.py file in the directory
C:\~\AppData\Local\Programs\Python\Python36\Lib\site-packages\leo

Is that expected?
I want to verify I can run version: 5.7b2.dev27
You can see I'm wearing my new user hat :)

Regards
Lewis

On Sunday, February 25, 2018 at 12:56:51 PM UTC+11, Matt Wilkie wrote:
 It should work on Win10 and Linux also, can anyone confirm that?
Thanks!

matt

lewis

unread,
Feb 25, 2018, 5:47:18 AM2/25/18
to leo-editor
Once again I forgot to hide my Leo git repo.

Here is the log:
Leo Log Window
Leo 5.7b2, build 20180214224634, Wed Feb 14 22:46:34 PST 2018
Not running from a git repo
Python 3.6.4, PyQt version 5.10.0


Please note at 'Running Leo' there is no clear instruction that if running a Leo pip installation, the run command is simply leo.
Launchleo.py doesn't work, so the running leo docs will need to make that clear.

Regards
Lewis

On Sunday, February 25, 2018 at 9:05:28 PM UTC+11, lewis wrote:
Hi Matt,

[snip]

Viktor Ransmayr

unread,
Feb 25, 2018, 1:03:28 PM2/25/18
to leo-e...@googlegroups.com
Hello Matt,

2018-02-25 2:56 GMT+01:00 Matt Wilkie <map...@gmail.com>:
Hi Folks,

I've uploaded `leo-5.7b2.dev27` to PyPi.org. It installs successfully on Win7x64 for Python 3.6 and Python 2.7. It should work on Win10 and Linux also, can anyone confirm that? Run the command below from your desired command shell:

End user install:

pip install leo

Like Lewis I also performed a  "pip install leo --upgrade" from version dev406 to version 5.7b2.

The only *small* surprise on my side was that 'leoc.exe' is no longer available.

However looking at the Scripts directory in my upgraded virtual environment I quickly found out that 'leo.exe' was still available.

For the record here's the startup log:

<Log>

Leo Log Window

Leo 5.7b2, build 20180214224634, Wed Feb 14 22:46:34 PST 2018
Not running from a git repo

Python 3.6.3, PyQt version 5.10.0
Windows 10 AMD64 (build 10.0.16299) SP0
isPython3: True
caching enabled
reading: C:\Users\Viktor\Worklogs\WL2018.leo
read outline in 0.73 seconds
saved: WL2018.leo
saved: WL2018.leo


</Log>

Thanks a lot for this work. - It's greatly appreciated.

With kind regards,

Viktor

Matt Wilkie

unread,
Feb 26, 2018, 8:17:51 PM2/26/18
to leo-editor
Thanks for the testing Lewis and Viktor! I'm gratified the only evident problem is missing documentation.


The only *small* surprise on my side was that 'leoc.exe' is no longer available.

  • leo - Leo with default graphical interface
  • leo-c, leo-console - Leo with console interface
  • leo-m, leo-messages - Leo with default graphical interface, echoing Log messages to startup command shell window
 
I removed 'leoc' because the "c" had conflicting meaning with real console mode. In old "c" mode Leo was still a graphical application, but reported to the console. See https://github.com/leo-editor/leo-editor/issues/637 for some of the thinking.

matt
Reply all
Reply to author
Forward
0 new messages