Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!


Project description


Help building a pyenv local mirror!


pip install pyenv-mirror


$ pyenv-mirror-download --help
    pyenv-mirror create-mirror
    pyenv-mirror download-package <pkg-name> [<python-build-path>]


$ ls
$ pyenv-mirror create-mirror
$ ls

Create a directory named pyenv-local-mirror in current working directory. The structure of pyenv-local-mirror is almost identical to yyuu/, except that all the so-called “packages” located in pyenv-local-mirror/pythons were removed.


pyenv-mirror download-package downloads all related files of a package to current working directory. pyenv-mirror download-package <pkg-name> [<python-build-path>]:

  • <pkg-name>, same as the arguement following pyenv install.
  • <python-build-path>, the path of python-build directory. If you installed pyenv through homebrew, you might need to pass the path of above directory explicitly. If omitted, the path is default to $PYENV_ROOT/plugins/python-build/share/python-build.
$ pyenv-mirror download-package 2.7 '/usr/local/Cellar/pyenv/20160310/plugins/python-build/share/python-build'
$ ls
Python-2.7.tgz        openssl-1.0.2g.tar.gz readline-6.3.tar.gz

Start The Mirror

  1. cd pyenv-local-mirror.
  2. Define your PYTHON_BUILD_MIRROR_URL in ./pythons/
  3. Customize HTTP port by changing PORT of ./pythons/ By default, PORT equals to 8999.
  4. Execute script ./pythons/

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyenv_mirror, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size pyenv_mirror-0.2.3.tar.gz (7.2 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page