11Overview
22========
33
4- pythonbrew is a program to automate the building and installation of Python in the users HOME.
4+ pythonbrew is a program to automate the building and installation of Python in the users $ HOME.
55
66pythonbrew is inspired by `perlbrew <http://github.com/gugod/App-perlbrew >`_ and `rvm <https://github.com/wayneeseguin/rvm >`_.
77
@@ -10,20 +10,16 @@ Installation
1010
1111The recommended way to download and install pythonbrew is to run these statements in your shell::
1212
13- curl -kLO http://github.com/utahta/pythonbrew/raw/master/pythonbrew-install
14- chmod +x pythonbrew-install
15- ./pythonbrew-install
16-
17- or more simply like this::
18-
19- curl -kL http://github.com/utahta/pythonbrew/raw/master/pythonbrew-install | bash
13+ curl -kL http://xrl.us/pythonbrewinstall | bash
2014
2115After that, pythonbrew installs itself to ~/.pythonbrew, and you should follow the instruction on screen to setup your .bashrc to put it in your PATH.
2216
2317If you need to install pythonbrew into somewhere else, you can do that by setting a PYTHONBREW_ROOT environment variable::
2418
2519 export PYTHONBREW_ROOT=/path/to/pythonbrew
26- ./pythonbrew-install
20+ curl -kLO http://xrl.us/pythonbrewinstall
21+ chmod +x pythonbrewinstall
22+ ./pythonbrewinstall
2723
2824Usage
2925=====
@@ -32,59 +28,63 @@ pythonbrew command [options]
3228
3329Install some pythons::
3430
35- pythonbrew install 2.6.6
36- pythonbrew install --force 2.6.6
37- pythonbrew install --configure="CC=gcc_4.1" 2.6.6
38- pythonbrew install --no-setuptools 2.6.6
39- pythonbrew install http://www.python.org/ftp/python/2.7/Python-2.6.6.tgz
40- pythonbrew install file:///path/to/Python-2.6.6.tgz
41- pythonbrew install /path/to/Python-2.6.6.tgz
42- pythonbrew install 2.5.5 2.6.6
31+ pythonbrew install 2.7.2
32+ pythonbrew install --verbose 2.7.2
33+ pythonbrew install --force 2.7.2
34+ pythonbrew install --no-test 2.7.2
35+ pythonbrew install --configure="CC=gcc_4.1" 2.7.2
36+ pythonbrew install --no-setuptools 2.7.2
37+ pythonbrew install http://www.python.org/ftp/python/2.7/Python-2.7.2.tgz
38+ pythonbrew install /path/to/Python-2.7.2.tgz
39+ pythonbrew install /path/to/Python-2.7.2
40+ pythonbrew install 2.7.2 3.2
4341
44- Permanently use the specified python as default ::
42+ Permanently use the specified python::
4543
46- pythonbrew switch 2.6.6
47- pythonbrew switch 2.5.5
44+ pythonbrew switch 2.7.2
45+ pythonbrew switch 3.2
4846
4947Use the specified python in current shell::
5048
51- pythonbrew use 2.6.6
49+ pythonbrew use 2.7.2
5250
5351Runs a named python file against specified and/or all pythons::
5452
5553 pythonbrew py test.py
5654 pythonbrew py -v test.py # Show running python version
57- pythonbrew py -p 2.6.6 -p 3.1 .2 test.py # Use the specified pythons
55+ pythonbrew py -p 2.7.2 -p 3.2 test.py # Use the specified pythons
5856
5957List the installed pythons::
6058
6159 pythonbrew list
6260
63- List the available install pythons::
61+ List the available installation pythons::
6462
6563 pythonbrew list -k
6664
6765Uninstall the specified python::
6866
69- pythonbrew uninstall 2.6.6
70- pythonbrew uninstall 2.5.5 2.6.6
67+ pythonbrew uninstall 2.7.2
68+ pythonbrew uninstall 2.7.2 3.2
7169
7270Remove stale source folders and archives::
7371
74- pythonbrew clean
72+ pythonbrew cleanup
7573
7674Upgrades pythonbrew to the latest version::
7775
7876 pythonbrew update
77+ pythonbrew update --master
78+ pythonbrew update --develop
7979
8080Disable pythonbrew::
8181
8282 pythonbrew off
8383
8484Create/Remove a symbolic link to python (in a directory on your $PATH)::
8585
86- pythonbrew symlink # Create a symbolic link, like "py2.5.5 ", for each installed version
87- pythonbrew symlink -p 2.5.5
86+ pythonbrew symlink # Create a symbolic link, like "py2.7.2 ", for each installed version
87+ pythonbrew symlink -p 2.7.2
8888 pythonbrew symlink pip # Create a symbolic link to the specified script in bin directory
8989 pythonbrew symlink -r # Remove a symbolic link
9090
@@ -97,10 +97,7 @@ COMMANDS
9797
9898install <version>
9999 Build and install the given version of python.
100-
101- Setuptools and pip is automatically installed.
102-
103- options: --force, --no-setuptools, --configure and --as.
100+ Install setuptools and pip automatically.
104101
105102switch <version>
106103 Permanently use the specified python as default.
@@ -120,7 +117,7 @@ list -k <version>
120117uninstall <version>
121118 Uninstall the given version of python.
122119
123- clean
120+ cleanup
124121 Remove stale source folders and archives.
125122
126123update
@@ -131,21 +128,10 @@ off
131128
132129version
133130 Show version.
131+
132+ See more details below::
134133
135- Options
136- =======
137-
138- \- f | --force
139- Force installation of a python. (skip `make test `)
140-
141- \- C | --configure
142- Custom configure options.
143-
144- \- n | --no-setuptools
145- Skip installation of setuptools.
146-
147- \- -as
148- Install a python under an alias.
134+ pythonbrew help <command>
149135
150136LICENCE
151137=======
0 commit comments