Re: Why is Script 'leo-m.exe' not available in Leo 6.1-final on PyPI?

2020-01-03 Thread Matt Wilkie

>
> Why is the script 'leo-m.exe' available in the development-/ beta version 
>>> of Leo (e.g. 6.1-b1-devel) but not in the master-/ final version of Leo 
>>> (e.g. 6.1-final) at PyPI?
>>>
>>
>> It's because master lags behind devel. It was inadvertently left out of 
>> the last master (final) release, and will be restored in next one.
>>
>
> Do you plan to deliver that as part of Leo 6.1.1?
>

It will be in next release 
(https://github.com/leo-editor/leo-editor/releases), whatever number that 
is (sometimes numbers are skipped).

-matt

-- 
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/dfdbd09f-a53d-4fd6-a557-75c8a05fde1e%40googlegroups.com.


Re: Why is Script 'leo-m.exe' not available in Leo 6.1-final on PyPI?

2020-01-03 Thread Matt Wilkie

>
> Thanks for this reminder. - Yes, it does work for leo.core.runLeo - but - 
> it does not work for launchLeo.py, since this file is not part of the Leo 
> package when installed from PyPI.
>
> AFAICT this is related to what Matt called "Leo's issue with (newer) 
> Python Packaging Preferences" here [1].
>
> [1] https://groups.google.com/d/msg/leo-editor/JxE7zwStAhA/03064iAhDgAJ
>

Yes, that's the right thread and info. Basically only things in the `./leo` 
folder tree are available when installing from PyPi, so 
non-from-source-code installs.

launchLeo.py is only needed when PYTHONHOME doesn't know about Leo, e.g. 
Leo hasn't been installed.

-matt

-- 
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/48108bbc-74be-411e-b46e-7ce66e1d2b80%40googlegroups.com.


Re: Why is Script 'leo-m.exe' not available in Leo 6.1-final on PyPI?

2020-01-03 Thread Matt Wilkie

>
> BTW, it's easier to run these modules using python -m, since you don't 
> have to keep coming up with the full path.  That is:
>
> python -m leo.core.runLeo # or launchLeo or whatever
>
 
>
Of course, the leo directory location has to be known to Python if it's not 
> in the standard location (e.g., Lib/site-packages).  
>

Excellent! I didn't know this. Thank you.

-matt

 

-- 
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/4476e585-4437-46e7-a87a-9416826b2f09%40googlegroups.com.


Re: Why is Script 'leo-m.exe' not available in Leo 6.1-final on PyPI?

2019-12-28 Thread Viktor Ransmayr
Hello Matt,

Am Do., 26. Dez. 2019 um 20:49 Uhr schrieb Matt Wilkie :

> Why is the script 'leo-m.exe' available in the development-/ beta version
>> of Leo (e.g. 6.1-b1-devel) but not in the master-/ final version of Leo
>> (e.g. 6.1-final) at PyPI?
>>
>
> It's because master lags behind devel. It was inadvertently left out of
> the last master (final) release, and will be restored in next one.
>

Do you plan to deliver that as part of Leo 6.1.1?

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/CAAeSrGJGU%2B6CGrJfLAZbwnQ73KfPeX0YzBmujDpZGoY%3DEUMK1Q%40mail.gmail.com.


Re: Why is Script 'leo-m.exe' not available in Leo 6.1-final on PyPI?

2019-12-28 Thread Viktor Ransmayr
Hello Thomas,

Am Samstag, 28. Dezember 2019 00:54:15 UTC+1 schrieb Thomas Passin:
>
>
>
> On Thursday, December 26, 2019 at 2:49:52 PM UTC-5, Matt Wilkie wrote:
>>
>> Why is the script 'leo-m.exe' available in the development-/ beta version 
>>> of Leo (e.g. 6.1-b1-devel) but not in the master-/ final version of Leo 
>>> (e.g. 6.1-final) at PyPI?
>>>
>>
>> It's because master lags behind devel. It was inadvertently left out of 
>> the last master (final) release, and will be restored in next one.
>>  
>>
>>> I think this script should be there at all times, since it is really 
>>> helpful when something goes wrong unexpectedly.
>>>
>>  
>> `python path\to\launchLeo.py` is the same as leo-messages.exe is always 
>> available, regardless of what does or doesn't happens with pip's install.
>>
>> -matt
>>
>
> BTW, it's easier to run these modules using python -m, since you don't 
> have to keep coming up with the full path.  That is:
>
> python -m leo.core.runLeo # or launchLeo or whatever
>
> Of course, the leo directory location has to be known to Python if it's 
> not in the standard location (e.g., Lib/site-packages).
>

Thanks for this reminder. - Yes, it does work for leo.core.runLeo - but - 
it does not work for launchLeo.py, since this file is not part of the Leo 
package when installed from PyPI.

AFAICT this is related to what Matt called "Leo's issue with (newer) Python 
Packaging Preferences" here [1].

With kind regards,

Viktor
---
[1] https://groups.google.com/d/msg/leo-editor/JxE7zwStAhA/03064iAhDgAJ

-- 
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/6c73bb24-03b3-476a-919d-27f5b342e127%40googlegroups.com.


Re: Why is Script 'leo-m.exe' not available in Leo 6.1-final on PyPI?

2019-12-27 Thread Thomas Passin


On Thursday, December 26, 2019 at 2:49:52 PM UTC-5, Matt Wilkie wrote:
>
> Why is the script 'leo-m.exe' available in the development-/ beta version 
>> of Leo (e.g. 6.1-b1-devel) but not in the master-/ final version of Leo 
>> (e.g. 6.1-final) at PyPI?
>>
>
> It's because master lags behind devel. It was inadvertently left out of 
> the last master (final) release, and will be restored in next one.
>  
>
>> I think this script should be there at all times, since it is really 
>> helpful when something goes wrong unexpectedly.
>>
>  
> `python path\to\launchLeo.py` is the same as leo-messages.exe is always 
> available, regardless of what does or doesn't happens with pip's install.
>
> -matt
>

BTW, it's easier to run these modules using python -m, since you don't have 
to keep coming up with the full path.  That is:

python -m leo.core.runLeo # or launchLeo or whatever

Of course, the leo directory location has to be known to Python if it's not 
in the standard location (e.g., Lib/site-packages).  

-- 
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/33f5bcec-c961-4df8-a62e-78d17604861b%40googlegroups.com.


Re: Why is Script 'leo-m.exe' not available in Leo 6.1-final on PyPI?

2019-12-26 Thread Viktor Ransmayr
Hello Matt,

Am Do., 26. Dez. 2019 um 20:49 Uhr schrieb Matt Wilkie :

> Why is the script 'leo-m.exe' available in the development-/ beta version
>> of Leo (e.g. 6.1-b1-devel) but not in the master-/ final version of Leo
>> (e.g. 6.1-final) at PyPI?
>>
>
> It's because master lags behind devel. It was inadvertently left out of
> the last master (final) release, and will be restored in next one.
>
>
>> I think this script should be there at all times, since it is really
>> helpful when something goes wrong unexpectedly.
>>
>
> `python path\to\launchLeo.py` is the same as leo-messages.exe is always
> available, regardless of what does or doesn't happens with pip's install.
>

Thanks for your explanation - but - the problem, as far as I can see, is
that 'launchLeo.py' is missing, when installing Leo from PyPI ...

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/CAAeSrGJvuNPDTZrNGooF6kSnEg2QzxJUdb%3DPyQ29Dyk7YJu9mQ%40mail.gmail.com.


Re: Why is Script 'leo-m.exe' not available in Leo 6.1-final on PyPI?

2019-12-26 Thread Matt Wilkie

>
> Why is the script 'leo-m.exe' available in the development-/ beta version 
> of Leo (e.g. 6.1-b1-devel) but not in the master-/ final version of Leo 
> (e.g. 6.1-final) at PyPI?
>

It's because master lags behind devel. It was inadvertently left out of the 
last master (final) release, and will be restored in next one.
 

> I think this script should be there at all times, since it is really 
> helpful when something goes wrong unexpectedly.
>
 
`python path\to\launchLeo.py` is the same as leo-messages.exe is always 
available, regardless of what does or doesn't happens with pip's install.

-matt

-- 
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/eafc5d38-eff9-4129-b378-3a190a9c6924%40googlegroups.com.