Welcome to virtualenv_bootstrap Documentation
在自动化运维领域, 用 Python 来代替 Bash 来写 shell script 能够极大的提升代码的可维护性. 仅使用标准库就能做到大部分的事情了. 在少数情况下, 我们依然需要安装一些第三方库来完成一些业务逻辑. 通常情况下, 我们需要手动安装依赖, 还有可能需要用到 virtualenv 以避免污染 global Python, 然后才能运行脚本. 这个库的意义是简化这一步骤, 通过自动创建 virtualenv 和安装依赖的方式, 使得你用任何 Python 解释器都能运行你的 shell script.
Install
virtualenv_bootstrap is released on PyPI, so all you need is to:
$ pip install virtualenv-bootstrap
To upgrade to latest version:
$ pip install --upgrade virtualenv-bootstrap
Metadata
Release files for virtualenv-bootstrap 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| virtualenv_bootstrap-0.0.1.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| virtualenv_bootstrap-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.7 kB
Release files / virtualenv_bootstrap-0.0.1.tar.gz
| Download URL | virtualenv_bootstrap-0.0.1.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
875bba1829cb63caf4ffe55eec6bef12efcfd9628cb2bf8491daed81415efa35
|
|
BLAKE2b-256 checksum How to use checksums |
1b98bc776fe3c384b7efbc3a0a353621bae67c36b72c370e003b0791efd126c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.13
|
Release files / virtualenv_bootstrap-0.0.1-py3-none-any.whl
| Download URL | virtualenv_bootstrap-0.0.1-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d38c0ff1027723e14247e0962958f79d42903cdceef124ad55a2f6b4af6b5a30
|
|
BLAKE2b-256 checksum How to use checksums |
d2d24e16bd0b0405377cd0c2a446d576350818089f4dfc89a35cb806225ec43c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.13
|