Skip to content
This repository was archived by the owner on Nov 25, 2023. It is now read-only.

Add RTX_PYENV_REPO env#12

Open
dfang wants to merge 2 commits intomise-plugins:mainfrom
dfang:dfang-patch-1
Open

Add RTX_PYENV_REPO env#12
dfang wants to merge 2 commits intomise-plugins:mainfrom
dfang:dfang-patch-1

Conversation

@dfang
Copy link
Copy Markdown

@dfang dfang commented Jul 14, 2023

rtx-python use pyenv to download and build python, when you run rtx ls-remote python or commands like that. you need pyenv installed in plugins/python directory.

in China, without vpn, the connection to GitHub is unstable, with this RTX_PYENV_REPO env, we can improve rtx experience drastically.

eg.

# for pyenv in rtx-python plugin
export RTX_PYENV_REPO="https://ghproxy.com/https://github.com/pyenv/pyenv.git"

# for rtx install python@xxxx (from pyenv)
export PYTHON_BUILD_MIRROR_URL_SKIP_CHECKSUM=false
export PYTHON_BUILD_MIRROR_URL=https://repo.huaweicloud.com/python/

@dfang
Copy link
Copy Markdown
Author

dfang commented Jul 14, 2023

jdx/mise#677

@dfang dfang marked this pull request as draft July 14, 2023 07:06
@dfang dfang changed the title Add RTX_PYENV_REPOSITORY env Add RTX_PYENV_REPO env Jul 14, 2023
@dfang dfang marked this pull request as ready for review July 14, 2023 16:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant