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

Add RTX_PYENV_REPO env #12

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

dfang
Copy link

@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
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