mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 23:50:44 +00:00
micropython-dev: Set better sys.path
This commit is contained in:
parent
7467eec9de
commit
7add7793cd
1 changed files with 3 additions and 2 deletions
|
@ -946,9 +946,10 @@ build_package_micropython() {
|
|||
fi
|
||||
{ cd unix
|
||||
"$MAKE" $MAKE_OPTS axtls
|
||||
"$MAKE" $MAKE_OPTS
|
||||
"$MAKE" $MAKE_OPTS CFLAGS_EXTRA="-DMICROPY_PY_SYS_PATH_DEFAULT='\"${PREFIX_PATH}/lib/micropython\"'"
|
||||
"$MAKE" install $MAKE_INSTALL_OPTS PREFIX="${PREFIX_PATH}"
|
||||
( cd "${PREFIX_PATH}/bin" && ln -fs micropython python )
|
||||
ln -fs micropython "${PREFIX_PATH}/bin/python"
|
||||
mkdir -p "${PREFIX_PATH}/lib/micropython"
|
||||
}>&4 2>&1
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue