virtualenvchdir:轻松 chdir 进入不同的 virtualenvs #hubspot-open-source

时间:2021-06-06 02:47:37
【文件属性】:
文件名称:virtualenvchdir:轻松 chdir 进入不同的 virtualenvs #hubspot-open-source
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-06 02:47:37
Shell 虚拟环境目录 你有十亿个 Python 项目,每个项目都有自己的 virtualenv。 在项目之间移动时继续运行workon是一种痛苦。 如果您有大量项目,这可能会很烦人。 要解决此问题,只需在 shell( bash或zsh )中获取包含的virtualenvchdir.sh ,并将 virtualenv 名称放在.venv文件中,只要您想更改为该 virtualenv。 安装 $ curl -fsSL https://raw.github.com/HubSpot/virtualenvchdir/master/virtualenvchdir.sh > ~/.virtualenvchdir.sh $ echo ". ~/.virtualenvchdir.sh" >> ~/.bash_profile # (bash) $ echo ". ~/.virtualenvchdir.sh" >
【文件预览】:
virtualenvchdir-master
----virtualenvchdir.sh(1KB)
----LICENSE(1KB)
----README.md(1KB)

网友评论