How to mark a library as suitable for MicroPython

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
ZXPrinter
Posts: 2
Joined: Tue Nov 23, 2021 4:52 pm

How to mark a library as suitable for MicroPython

Post by ZXPrinter » Tue Nov 23, 2021 4:54 pm

Hi,

I have uploaded to PyPi a small library I need for a course (that uses the Pico). Thonny is complaining that it doesn't look like a MicroPython package. I would like to get rid of the warning. How do I have to name or mark my library to achieve that? Is there a specific field in the PyPi metadata?

Best regards
Joerg

ZXPrinter
Posts: 2
Joined: Tue Nov 23, 2021 4:52 pm

Re: How to mark a library as suitable for MicroPython

Post by ZXPrinter » Tue Nov 23, 2021 6:12 pm

Ah... nevermind. "Programming Language :: Python :: Implementation :: MicroPython" it is.

User avatar
aivarannamaa
Posts: 171
Joined: Fri Sep 22, 2017 3:19 pm
Location: Estonia
Contact:

Re: How to mark a library as suitable for MicroPython

Post by aivarannamaa » Thu Nov 25, 2021 3:46 pm

Older versions of Thonny only considered distributions without setyp.py to be for MicroPython. Since 3.3.10 it should be able to install bot pip-compatible and upip-compatible distributions.
Aivar Annamaa
https://thonny.org

Post Reply