Re: PEP 517: Python Packaging’s New World Order [was: ] Re: Leo's PyPi page will remain

2024-02-16 Thread Edward K. Ream
On Fri, Feb 16, 2024 at 4:16 AM Edward K. Ream  wrote:

> On Friday, February 16, 2024 at 4:04:02 AM UTC-6 george.z...@gmail.com
> wrote:
>
> More on setup.py
> https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary
>
>
> Thanks for this.  My *guess* is that Leo is already creating
> distributions correctly:
>
> - Following Leo's installation checklist, I create distributions with python
> -m build.
> - After uploading to PyPi,  pip install leo works as expected.
>

At last I see the implication: Leo does not need setup.py at all!

Before today, PR #3767 
(easy install from GitHub) had a to-do item: restore setup.py.

Now it doesn't :-) 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/CAMF8tS2143qg_FAqNbPSbV_8ZVykiVemoS0Pa5GEm9a-bfLZiQ%40mail.gmail.com.


Re: PEP 517: Python Packaging’s New World Order [was: ] Re: Leo's PyPi page will remain

2024-02-16 Thread Edward K. Ream
On Friday, February 16, 2024 at 4:04:02 AM UTC-6 george.z...@gmail.com 
wrote:

More on setup.py
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary


Thanks for this.  My *guess* is that Leo is already creating distributions 
correctly:

- Following Leo's installation checklist, I create distributions with python 
-m build.
- After uploading to PyPi,  pip install leo works as expected.

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/ecd3d91f-69bf-478e-8e92-3ce11a2214efn%40googlegroups.com.


Re: PEP 517: Python Packaging’s New World Order [was: ] Re: Leo's PyPi page will remain

2024-02-16 Thread George Zipperlen
More on setup.py
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary

On Friday, February 16, 2024 at 4:48:19 AM UTC-5 George Zipperlen wrote:

>
> Some thoughts on Python packaging from the BSD folks
>
>
> https://freebsdfoundation.org/our-work/journal/browser-based-edition/pep-517-python-packagings-new-world-order/
>
> On Sunday, February 11, 2024 at 2:59:32 PM UTC-5 tbp1...@gmail.com wrote:
>
>> I don't know for sure about the Mac (why it would be different, I mean),  
>> but you want to install "pyqt6", not "qt".  You should also install 
>> "PyQt6-WebEngine", for the ViewRendered3 plugin to work completely.  I 
>> don't know if that has finally gotten into the requirements list or not.
>>
>> On Windows and Linux, installing Leo also installs pyqt6 (or pyqt5, which 
>> will also work; correspondingly you also should install PyQtWebEngine).  I 
>> don't know if it needs to be compiled  during installation on a Mac or not, 
>> but the compilation might not have worked for some reason.
>>
>> On Sunday, February 11, 2024 at 2:34:20 PM UTC-5 Geoff Evans wrote:
>>
>>> (Sorry; forgot to say this is in MacOS)
>>>
>>> On Sunday 11 February 2024 at 16:03:48 UTC-3:30 Geoff Evans wrote:
>>>
 Thanks Edward, I tried that and got further than I did 2 weeks ago.  
 "pip install leo" apparently works but when I then type  "leo" I get
 Can not load the requested gui: qt
 Then when I try "pip install qt" I get "ERROR: No matching distribution 
 found for qt".  What am I missing?

 Cheersgeoff

 On Sunday 11 February 2024 at 08:27:39 UTC-3:30 Edward K. Ream wrote:

> I have deleted the ill-fated 6.7.7.1 release from Leo's PyPi page 
> .
>
> pip install leo should work again as before.
>
> Issue #3767  
> now suggests supporting pip install -r requirements.txt
> as an easy way to install requirements *from within a cloned GitHub 
> repo*.
>
> All comments and questions are welcome.
>
> 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/d5eba35f-39a5-4647-90fe-7c70ba0ef4f6n%40googlegroups.com.


PEP 517: Python Packaging’s New World Order [was: ] Re: Leo's PyPi page will remain

2024-02-16 Thread George Zipperlen

Some thoughts on Python packaging from the BSD folks

https://freebsdfoundation.org/our-work/journal/browser-based-edition/pep-517-python-packagings-new-world-order/

On Sunday, February 11, 2024 at 2:59:32 PM UTC-5 tbp1...@gmail.com wrote:

> I don't know for sure about the Mac (why it would be different, I mean),  
> but you want to install "pyqt6", not "qt".  You should also install 
> "PyQt6-WebEngine", for the ViewRendered3 plugin to work completely.  I 
> don't know if that has finally gotten into the requirements list or not.
>
> On Windows and Linux, installing Leo also installs pyqt6 (or pyqt5, which 
> will also work; correspondingly you also should install PyQtWebEngine).  I 
> don't know if it needs to be compiled  during installation on a Mac or not, 
> but the compilation might not have worked for some reason.
>
> On Sunday, February 11, 2024 at 2:34:20 PM UTC-5 Geoff Evans wrote:
>
>> (Sorry; forgot to say this is in MacOS)
>>
>> On Sunday 11 February 2024 at 16:03:48 UTC-3:30 Geoff Evans wrote:
>>
>>> Thanks Edward, I tried that and got further than I did 2 weeks ago.  
>>> "pip install leo" apparently works but when I then type  "leo" I get
>>> Can not load the requested gui: qt
>>> Then when I try "pip install qt" I get "ERROR: No matching distribution 
>>> found for qt".  What am I missing?
>>>
>>> Cheersgeoff
>>>
>>> On Sunday 11 February 2024 at 08:27:39 UTC-3:30 Edward K. Ream wrote:
>>>
 I have deleted the ill-fated 6.7.7.1 release from Leo's PyPi page 
 .

 pip install leo should work again as before.

 Issue #3767  now 
 suggests supporting pip install -r requirements.txt
 as an easy way to install requirements *from within a cloned GitHub 
 repo*.

 All comments and questions are welcome.

 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/50ae32d9-5ee8-49f9-b693-88f86e85c8aen%40googlegroups.com.