Handle '~' in find_mpy_root function#47
Conversation
|
Which operating system is this failing on? I'm using Ubuntu 24.04.2 LTS and these both work without this PR (and with too, so the PR seems good!): >MICROPY_DIR=/home/matt/code/micropython mpbuild list renesas-ra
>MICROPY_DIR=~/code/micropython mpbuild list renesas-raIt would be just nicer if I could see a failing example, update with this PR and see it fixed. 😃 |
|
Issue was on Windows 11, + Docker Desktop, running in WSL2 Docker needs an absolute path, and without the addition that is not guaranteed by Python. Possibly if you have docker or podman installed in linux ( rather than on ubuntus superviser) , then it will handle the ~ when it receives a path. Should be simple to repro well - Today I learned that dropping the "" also helps. ITIR that linux shells have a tendency to pre-resolve wildcards in file like strings - that has gotten in my way before and "" were the way to stop that from happening. I think this still has value though, there are bound to be others like me with windows trained muscle memory for using baz="bar" when setting environment variables |


Add support for folder configuration such as
MICROPY_DIR=~/micropython.