mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
added README
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
=== USAGE:
|
||||
pythonbrew [options] [init|install|installed|switch|off|version]
|
||||
|
||||
# Initialize
|
||||
pythonbrew init
|
||||
|
||||
# Install pythonbrew
|
||||
pythonbrew install
|
||||
|
||||
# Install some Pythons
|
||||
pythonbrew install Python-2.6.6
|
||||
pythonbrew install Python-2.5.5
|
||||
pythonbrew --build-options="CC=gcc_4.1" install Python-2.4.3
|
||||
|
||||
# Switch python in the $PATH
|
||||
pythonbrew switch Python-2.6.6
|
||||
pythonbrew switch /path/to/Python-2.5.5/
|
||||
pythonbrew switch /path/to/python
|
||||
|
||||
# Disable pythonbrew
|
||||
pythonbrew off
|
||||
|
||||
# Version
|
||||
pythonbrew version
|
||||
|
||||
=== COMMANDS:
|
||||
= init
|
||||
Run this once to setup the pythonbrew directory ready for installing
|
||||
pythons into. Run it again if you decide to change PYTHONBREW_ROOT.
|
||||
|
||||
= install Python-<version>
|
||||
Build and install the given version of python.
|
||||
|
||||
= installed
|
||||
List the installed versions of python.
|
||||
|
||||
= switch Python-<version>
|
||||
Switch to the given version.
|
||||
|
||||
= switch /path/to/Python-dir/
|
||||
Switch to the given version of python in directory.
|
||||
|
||||
= switch /path/to/python
|
||||
Switch to the given version of python.
|
||||
|
||||
= off
|
||||
Disable pythonbrew.
|
||||
|
||||
= version
|
||||
Show version.
|
||||
|
||||
=== OPTIONS:
|
||||
= --force
|
||||
= --build-options
|
||||
|
||||
Reference in New Issue
Block a user