https://pantsbuild.org/ logo
#general
Title
# general
a

ambitious-actor-36781

07/05/2022, 8:01 AM
I'm looking at building a micropython plugin for Pants (Because it's yet another hostile python runtime and I seem to gravitate towards them?) Micropython comes with a low-budget
pip
implementation (https://github.com/micropython/micropython/blob/4b9a2abbdec0e905fbc08f247513e43fb6bff39e/tools/upip.py) that installs packages to a directory for you. But it's uh, low-budget, and has some issues. But the main thing it does is puts the code where it's needed (in micropython your
PYTHONPATH
is
/
and that's where you put everything.) Can I do this with pant's existing pex packaging? Just need the .py files copied to a directory.
😆 1
❤️ 1
Hm, going to go with no. Looks like all the micropython libs don't ship with a setup.py
👍 1