Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

Tool to download and build python based upon pyenv.

Project description

Python-Build

BuildPython is a python library to download and build a version of python into a specified directory.

That’s it.

The code herein is basically derived from pyenv.

It can substitute for virtualenv.

Use

Install:

$ pip install python-build

Use in python:

>>> import python_build
>>> python_build.python_build("2.7.3", "/home/user/projectdirectory/py273")

Use outside of python:

$ python-build 2.7.3 /home/user/projectdirectory/py273

Help:

$ python-build --help

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page