mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
release 0.9
This commit is contained in:
@@ -61,6 +61,17 @@ __pythonbrew_update()
|
||||
[[ $? == 0 ]] && __pythonbrew_reload
|
||||
}
|
||||
|
||||
__pythonbrew_venv()
|
||||
{
|
||||
command pythonbrew "$@"
|
||||
if [[ $? == 0 ]] ; then
|
||||
if [[ -s "$PATH_ETC/venv.run" ]] ; then
|
||||
source "$PATH_ETC/venv.run"
|
||||
cat /dev/null > "$PATH_ETC/venv.run"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
__pythonbrew_find_command()
|
||||
{
|
||||
command_name=""
|
||||
@@ -84,6 +95,7 @@ pythonbrew()
|
||||
switch) __pythonbrew_switch "$@" ;;
|
||||
off) __pythonbrew_off "$@" ;;
|
||||
update) __pythonbrew_update "$@" ;;
|
||||
venv) __pythonbrew_venv "$@" ;;
|
||||
*) command pythonbrew "$@" ;;
|
||||
esac
|
||||
builtin hash -r
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
[distribute]
|
||||
url = http://python-distribute.org/distribute_setup.py
|
||||
|
||||
[bootstrap]
|
||||
url = http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py
|
||||
|
||||
[pythonbrew]
|
||||
master = https://github.com/utahta/pythonbrew/tarball/master
|
||||
develop = https://github.com/utahta/pythonbrew/tarball/develop
|
||||
|
||||
Reference in New Issue
Block a user