Skip to main content

Tool to download and build python based upon pyenv.

Project description


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

That’s it.

The code is basically derived from pyenv but provides a bit of a nicer wrapper.

It was built for use with so that you can test the same code with multiple versions of python.



$ 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


$ python-build --help

Project details

Download files

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

Source Distribution

python-build-0.2.13.tar.gz (449.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page