https://github.com/crdoconnor/python-build
Tool to download and build python (based upon pyenv)
https://github.com/crdoconnor/python-build
Last synced: 10 days ago
JSON representation
Tool to download and build python (based upon pyenv)
- Host: GitHub
- URL: https://github.com/crdoconnor/python-build
- Owner: crdoconnor
- License: mit
- Created: 2015-07-06T11:34:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-09T19:07:38.000Z (over 10 years ago)
- Last Synced: 2026-04-24T05:09:53.448Z (3 months ago)
- Language: C
- Size: 193 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Python-Build
============
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 http://hitchtest.com/ so that you can test the same code with multiple versions of python.
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