On Monday, March 18, 2024 at 4:43:22 PM UTC-5 Edward K. Ream wrote:

This Engineering Notebook post briefly summarizes the challenges in 
distributing Leo on pypi.


In this kind of challenging project, I look for small gains. Here are 
today's:


*Test locally*


*Aha/Doh*: test my wheel file *without* using testpypi:


python -m pip install c:\Repos\leo-editor\dist\leo-6.7.8.1-py3-none-any.whl


*Use the wheel-inspect <https://pypi.org/project/wheel-inspect/> package*


The following command shows that the 6.7.7 wheel includes a "leo" module:


python -m wheel_inspect dist\leo-6.7.7-3-py3-none-any.whl 
>c:\Users\Dev\wheel-inspect-6.7.7.txt


A similar command shows that the 6.7.8 wheel does *not *include the "leo" 
module. I suspected as much, but now I know for sure.


*Summary*


Inspecting a wheel shows whether installing from that wheel has any chance 
of working.


There is no point in uploading a wheel file until a *local* install works.


The next task: tell the .toml file to include the "leo" module :-)


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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/3270ddd5-5749-413b-9bbb-db9f34980ed1n%40googlegroups.com.

Reply via email to