Re: Leo 6.7.8 released to pypi

2024-04-25 Thread HaveF HaveF
>
> > 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?

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CA%2BUQrQyMUOuDHeUHWtmkVRjHiwjgEQi8QS_SmifJZYXiaEphNg%40mail.gmail.com.


Re: Leo 6.7.8 released to pypi

2024-04-25 Thread Edward K. Ream
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

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/a2ccb8d1-d947-46ea-b464-8eb50304b7efn%40googlegroups.com.


Re: Leo 6.7.8 released to pypi

2024-04-06 Thread Edward K. Ream
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

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3kKXuc3F1jhnxnFaStFuYsdT2XHp3NCCc6fK-3Yrd-hg%40mail.gmail.com.


Re: Leo 6.7.8 released to pypi

2024-03-28 Thread HaveF HaveF
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?

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/8949d12e-a7a7-4fa0-b1c1-aab3af87cdccn%40googlegroups.com.


Re: Leo 6.7.8 released to pypi

2024-03-22 Thread Edward K. Ream
On Fri, Mar 22, 2024 at 12:33 PM Thomas Passin  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

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS2SinN5cAUCQk0tm5S7fP-1PDemiG4jnpsh-Cp8Sm5z9Q%40mail.gmail.com.


Re: Leo 6.7.8 released to pypi

2024-03-22 Thread Thomas Passin
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

On Thursday, March 21, 2024 at 4:59:37 PM UTC-4 Edward K. Ream wrote:

>  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
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/b2165288-6be5-47fe-97f8-0c5fd2ac7e6an%40googlegroups.com.


Re: Leo 6.7.8 released to pypi

2024-03-21 Thread Edward K. Ream
>  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

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3cYVR%3DJhG2Hp1tXwVQZFw%2BV1wizxJcDoAw3b%2BaF9Q1Bw%40mail.gmail.com.


Re: Leo 6.7.8 released to pypi

2024-03-21 Thread Viktor Ransmayr
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

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/57215828-9630-4157-af67-eb2876f03cb8n%40googlegroups.com.


Leo 6.7.8 released to pypi

2024-03-21 Thread Edward K. Ream
 

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

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/dc66f571-eb89-48bb-b27e-11e86712a1f2n%40googlegroups.com.