Leo 6.7.8 released to pypi

116 views
Skip to first unread message

Edward K. Ream

unread,
Mar 21, 2024, 7:53:13 AM3/21/24
to leo-editor

Leo 6.7.8.post3 is now available on Leo's pypi page.


This version installs leo.exe, leo-c.exe, and leo-console.exe in the "Python3.x/scripts" folder. These scripts work for me.


This release concludes work on Leo 6.7.8.  Onward!


Edward

Viktor Ransmayr

unread,
Mar 21, 2024, 3:29:55 PM3/21/24
to leo-editor
Hello Edward,

Edward K. Ream schrieb am Donnerstag, 21. März 2024 um 12:53:13 UTC+1:

Leo 6.7.8.post3 is now available on Leo's pypi page.


This version installs leo.exe, leo-c.exe, and leo-console.exe in the "Python3.x/scripts" folder. These scripts work for me.


 Leo 6.7.8.post3 is now working as expected in an existing 'venv' w/i a Fedora 38 VM !

With kind regards,

Viktor

Edward K. Ream

unread,
Mar 21, 2024, 4:59:37 PM3/21/24
to leo-e...@googlegroups.com
 Leo 6.7.8.post3 is now working as expected in an existing 'venv' w/i a Fedora 38 VM !

Excellent. Thanks for your testing :-)

Edward

Thomas Passin

unread,
Mar 22, 2024, 1:33:12 PM3/22/24
to leo-editor
I've tried out installing post3 on my fleet of Linux VMs.  It succeeded on all of them although for some I had to add the pip install option --break-system-packages.  After installation, there was a also new "leo" script that launched Leo.  So it looks like all Edward's hard work has paid off. The install command was:

python3 -m pip install --user --upgrade leo

Here is the list of distros I tried:

debian 22.04
fedora
manjaro
mint
opensuse
ubuntu
xubuntu

Edward K. Ream

unread,
Mar 22, 2024, 5:04:44 PM3/22/24
to leo-e...@googlegroups.com
On Fri, Mar 22, 2024 at 12:33 PM Thomas Passin <tbp1...@gmail.com> wrote:
I've tried out installing post3 on my fleet of Linux VMs.  It succeeded on all of them although for some I had to add the pip install option --break-system-packages.  After installation, there was a also new "leo" script that launched Leo.  So it looks like all Edward's hard work has paid off.

Thanks for your testing. I greatly appreciate it.

I'm glad to be rid of setup.py.

Edward

HaveF HaveF

unread,
Mar 28, 2024, 10:44:52 AM3/28/24
to leo-editor
When I using `pipx inject leo /Users/mac/Desktop/proj/leo-editor` for newest code. it throws:

╰─$ pipx inject leo /Users/mac/Desktop/proj/leo-editor                                                                                          141 ↵
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      running egg_info
      writing leo.egg-info/PKG-INFO
      writing dependency_links to leo.egg-info/dependency_links.txt
      writing entry points to leo.egg-info/entry_points.txt
      writing requirements to leo.egg-info/requires.txt
      writing top-level names to leo.egg-info/top_level.txt
      error: package directory 'leo/doc/_static' does not exist
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Cannot determine package name from spec '/Users/mac/Desktop/proj/leo-editor'. Check package spec for errors.



after `mkdir -p leo/doc/_static`, it works as before.

Maybe we need an empty .gitignore file in that folder?

Edward K. Ream

unread,
Apr 6, 2024, 1:59:58 AM4/6/24
to leo-e...@googlegroups.com
On Thu, Mar 28, 2024 at 9:44 AM HaveF HaveF wrote:

When I using `pipx inject leo /Users/mac/Desktop/proj/leo-editor` for newest code. it throws:

[snip]
      error: package directory 'leo/doc/_static' does not exist

Thanks for this report.  See #3853.

Edward

Edward K. Ream

unread,
Apr 25, 2024, 6:36:45 AM4/25/24
to leo-editor
On Thursday, March 28, 2024 at 9:44:52 AM UTC-5 iamap wrote:

> When I using `pipx inject leo /Users/mac/Desktop/proj/leo-editor` for newest code. it throws:
>    error: package directory 'leo/doc/_static' does not exist
> after `mkdir -p leo/doc/_static`, it works as before.
> Maybe we need an empty .gitignore file in that folder?

Why would an empty .gitignore folder help?

My speculation is that perhaps leo-editor/MANIFEST.in should contain this line:

     include leo/doc/_static

Otoh, I don't understand the differences between pip and pipx.

Do you have any thoughts?

Edward

HaveF HaveF

unread,
Apr 25, 2024, 10:01:14 AM4/25/24
to leo-e...@googlegroups.com
> When I using `pipx inject leo /Users/mac/Desktop/proj/leo-editor` for newest code. it throws:
>    error: package directory 'leo/doc/_static' does not exist

> after `mkdir -p leo/doc/_static`, it works as before.
> Maybe we need an empty .gitignore file in that folder?

Why would an empty .gitignore folder help?

My speculation is that perhaps leo-editor/MANIFEST.in should contain this line:

     include leo/doc/_static

Frankly speaking, I don't know how MANIFEST.in works.
empty .gitignore folder can keep the _static dir in repo, so the error will be fixed.
Of course, this is indeed not a fundamental solution to error. In fact, I don't know or track where this error appears (mainly because I think this matter is not very important). This is just a quick and dirty fix.
 
Otoh, I don't understand the differences between pip and pipx.
My understanding is: pipx just creates a separate virtual env, and installs the dependency, after that, it adds the bin dir to the global path. I think it’s not a problem with pipx. It just creates a separate virtual env for each installed package.

Btw, my OS is Mac, does anyone else have the same problem as me?
Reply all
Reply to author
Forward
0 new messages