mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a484f9b693 | |||
| 706d8b4327 | |||
| 17b811865c | |||
| ea7cb63494 | |||
| e7943488de | |||
| 770715b536 | |||
| 7bdb546fa4 | |||
| b6abb47bc3 |
+23
-13
@@ -1,6 +1,16 @@
|
|||||||
Overview
|
Overview
|
||||||
========
|
========
|
||||||
|
|
||||||
|
Pythonbrew is anti-virtualenv. This isn't.
|
||||||
|
|
||||||
|
Differences:
|
||||||
|
|
||||||
|
- No `switch`. That's crazy.
|
||||||
|
- Bottles (pre-compiled Pythons)
|
||||||
|
|
||||||
|
----------------------------------
|
||||||
|
|
||||||
|
|
||||||
pythonbrew is a program to automate the building and installation of Python in the users $HOME.
|
pythonbrew is a program to automate the building and installation of Python in the users $HOME.
|
||||||
|
|
||||||
pythonbrew is inspired by `perlbrew <http://github.com/gugod/App-perlbrew>`_ and `rvm <https://github.com/wayneeseguin/rvm>`_.
|
pythonbrew is inspired by `perlbrew <http://github.com/gugod/App-perlbrew>`_ and `rvm <https://github.com/wayneeseguin/rvm>`_.
|
||||||
@@ -12,7 +22,7 @@ The recommended way to download and install pythonbrew is to run these statement
|
|||||||
|
|
||||||
curl -kL http://xrl.us/pythonbrewinstall | bash
|
curl -kL http://xrl.us/pythonbrewinstall | bash
|
||||||
|
|
||||||
After that, pythonbrew installs itself to ~/.pythonbrew.
|
After that, pythonbrew installs itself to ~/.pythonbrew.
|
||||||
|
|
||||||
Please add the following line to the end of your ~/.bashrc::
|
Please add the following line to the end of your ~/.bashrc::
|
||||||
|
|
||||||
@@ -40,7 +50,7 @@ Usage
|
|||||||
=====
|
=====
|
||||||
|
|
||||||
pythonbrew command [options]
|
pythonbrew command [options]
|
||||||
|
|
||||||
Install some pythons::
|
Install some pythons::
|
||||||
|
|
||||||
pythonbrew install 2.7.2
|
pythonbrew install 2.7.2
|
||||||
@@ -53,7 +63,7 @@ Install some pythons::
|
|||||||
pythonbrew install /path/to/Python-2.7.2.tgz
|
pythonbrew install /path/to/Python-2.7.2.tgz
|
||||||
pythonbrew install /path/to/Python-2.7.2
|
pythonbrew install /path/to/Python-2.7.2
|
||||||
pythonbrew install 2.7.2 3.2
|
pythonbrew install 2.7.2 3.2
|
||||||
|
|
||||||
Permanently use the specified python::
|
Permanently use the specified python::
|
||||||
|
|
||||||
pythonbrew switch 2.7.2
|
pythonbrew switch 2.7.2
|
||||||
@@ -95,7 +105,7 @@ Upgrades pythonbrew to the latest version::
|
|||||||
Disable pythonbrew::
|
Disable pythonbrew::
|
||||||
|
|
||||||
pythonbrew off
|
pythonbrew off
|
||||||
|
|
||||||
Create/Remove a symbolic link to python (in a directory on your $PATH)::
|
Create/Remove a symbolic link to python (in a directory on your $PATH)::
|
||||||
|
|
||||||
pythonbrew symlink # Create a symbolic link, like "py2.7.2", for each installed version
|
pythonbrew symlink # Create a symbolic link, like "py2.7.2", for each installed version
|
||||||
@@ -105,12 +115,12 @@ Create/Remove a symbolic link to python (in a directory on your $PATH)::
|
|||||||
pythonbrew symlink -v foo # Create a symbolic link to the specified virtual environment python in bin directory
|
pythonbrew symlink -v foo # Create a symbolic link to the specified virtual environment python in bin directory
|
||||||
|
|
||||||
Runs the buildout with specified or current using python::
|
Runs the buildout with specified or current using python::
|
||||||
|
|
||||||
pythonbrew buildout
|
pythonbrew buildout
|
||||||
pythonbrew buildout -p 2.6.6
|
pythonbrew buildout -p 2.6.6
|
||||||
|
|
||||||
Create isolated python environments (uses virtualenv)::
|
Create isolated python environments (uses virtualenv)::
|
||||||
|
|
||||||
pythonbrew venv init
|
pythonbrew venv init
|
||||||
pythonbrew venv create proj
|
pythonbrew venv create proj
|
||||||
pythonbrew venv list
|
pythonbrew venv list
|
||||||
@@ -139,10 +149,10 @@ py <python file>
|
|||||||
|
|
||||||
list
|
list
|
||||||
List the installed all pythons.
|
List the installed all pythons.
|
||||||
|
|
||||||
list -k <version>
|
list -k <version>
|
||||||
List the available install pythons.
|
List the available install pythons.
|
||||||
|
|
||||||
uninstall <version>
|
uninstall <version>
|
||||||
Uninstall the given version of python.
|
Uninstall the given version of python.
|
||||||
|
|
||||||
@@ -154,19 +164,19 @@ update
|
|||||||
|
|
||||||
off
|
off
|
||||||
Disable pythonbrew.
|
Disable pythonbrew.
|
||||||
|
|
||||||
symlink
|
symlink
|
||||||
Create/Remove a symbolic link to python (in a directory on your $PATH)
|
Create/Remove a symbolic link to python (in a directory on your $PATH)
|
||||||
|
|
||||||
buildout
|
buildout
|
||||||
Runs the buildout with specified or current using python.
|
Runs the buildout with specified or current using python.
|
||||||
|
|
||||||
venv
|
venv
|
||||||
Create isolated python environments (uses virtualenv)
|
Create isolated python environments (uses virtualenv)
|
||||||
|
|
||||||
version
|
version
|
||||||
Show version.
|
Show version.
|
||||||
|
|
||||||
See more details below
|
See more details below
|
||||||
`pythonbrew help <command>`
|
`pythonbrew help <command>`
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
1.1
|
1.1
|
||||||
|
|||||||
Reference in New Issue
Block a user