mirror of
https://github.com/kennethreitz-archive/python-build-old.git
synced 2026-06-05 23:40:17 +00:00
usage
This commit is contained in:
+42
@@ -4,3 +4,45 @@ Python Version Tools
|
||||
**tl;dr**: Pythonbrew done right.
|
||||
|
||||
(work in progress)
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
List all available Pythons::
|
||||
|
||||
$ pyenv list
|
||||
python-2.5 (python-2.5.6)
|
||||
python-2.6 (python-2.6.7)
|
||||
python-2.7 (python-2.7.2)
|
||||
pypy (pypy-1.6)
|
||||
|
||||
Update the cache::
|
||||
|
||||
$ pyenv update
|
||||
# Downloads all required files and such.
|
||||
|
||||
Build a Python::
|
||||
|
||||
$ pyenv build 2.7
|
||||
|
||||
Build all major versions of Python::
|
||||
|
||||
$ pyenv build --all-major
|
||||
|
||||
Build all versions of Python::
|
||||
|
||||
$ pyenv build --all
|
||||
|
||||
|
||||
Config
|
||||
------
|
||||
|
||||
Contents of `~/.pyenv/`:
|
||||
|
||||
`pythons`
|
||||
Python installations.
|
||||
`cache`
|
||||
Dependencies.
|
||||
`formula`
|
||||
Python version formulas.
|
||||
|
||||
Reference in New Issue
Block a user