PEW (Python Env Wrapper)是一套管理多个虚拟环境的工具,在bash,zsh,fish和powershell上完美运行。
用法:
~> pew new --python=pypy -i django myproject Running virtualenv with interpreter /home/dario/Applications/bin/pypy New pypy executable in myproject/bin/pypy Installing distribute.................................................................. ....................................................................................... ..................................................................done. Installing pip................done. Downloading/unpacking django Downloading Django-1.5.1.tar.gz (8.0MB): 8.0MB downloaded Running setup.py egg_info for package django warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' Installing collected packages: django [SNIP] Successfully installed django Cleaning up... Launching subshell in virtual environment. Type 'exit' or 'Ctrl+D' to return.