Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ $ pybrew venv create testenv
- Creating `testenv` environment into /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3
- New python executable in /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv/bin/python
- Installing setuptools............done.
- Installing pip...............done.
- Running virtualenv with interpreter /Users/andrewcox/.pythonbrew/pythons/Python-2.7.3/bin/python
- ~ $ pybrew venv use testenv
- # Using `testenv` environment (found in /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3)
- # To leave an environment, simply run `deactivate`
- (testenv)~ $ pip --version
- pip 1.0.2 from /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg (python 2.7)
- (testenv)~ $ deactivate
- ~ $ pybrew venv rename testenv newname
- ~ $ pybrew venv use newname
- # Using `newname` environment (found in /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3)
- # To leave an environment, simply run `deactivate`
- (testenv)~ $ pip --version
- pip 1.2.1 from /Users/andrewcox/.pythonbrew/pythons/Python-2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg (python 2.7)
- (testenv)~ $ grep testenv /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/newname/bin/*
- /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/newname/bin/activate:VIRTUAL_ENV="/Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv"
- /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/newname/bin/activate.csh:setenv VIRTUAL_ENV "/Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv"
- /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/newname/bin/activate.fish:set -gx VIRTUAL_ENV "/Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv"
- /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/newname/bin/easy_install:#!/Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv/bin/python
- /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/newname/bin/easy_install-2.7:#!/Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv/bin/python
- /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/newname/bin/pip:#!/Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv/bin/python
- /Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/newname/bin/pip-2.7:#!/Users/andrewcox/.pythonbrew/venvs/Python-2.7.3/testenv/bin/python
- (testenv)~ $ deactivate
Advertisement
Add Comment
Please, Sign In to add comment