OttoDIY / OttoDIYPython

port of the OttoDIY Robot API (Otto9.h & Otto9Humanoid.h) to a micropython based platform
https://github.com/OttoDIY/OttoDIYPython
MIT License
21 stars 15 forks source link

Package Project for PyPI distribution (organize filesystem) #19

Open sfranzyshen opened 3 years ago

sfranzyshen commented 3 years ago
The Python Package Index (PyPI) is a repository of software for the Python programming
language. micropython-lib packages are published on PyPI (Python Package Index), the 
standard Python community package repository: https://pypi.org/ . On PyPI, you can search 
for MicroPython related packages and read additional package information. By convention, 
all micropython-lib package names are prefixed with "micropython-" (the reverse is not 
true -some package starting with "micropython-" aren't part of micropython-lib and were
released by 3rd parties). To install packages from PyPI for usage on your local system,
use the upip tool, which is MicroPython's native package manager.

even if we don't distribute on PyPI ... a organization of the files into the structure used for packages would still be useful for manually installing ...

References:

https://github.com/micropython/micropython-lib https://github.com/micropython/micropython/issues/413 https://packaging.python.org/tutorials/packaging-projects/ https://packaging.python.org/glossary/#term-Import-Package https://docs.python.org/3/tutorial/modules.html#packages https://docs.micropython.org/en/latest/reference/packages.html#upip-package-manager