activate virtual environment for current shell
Project description
Run shell for virtual environment.
Installation
Install from PyPI:
python3 -m pip install --user dephell_shells
Usage
from pathlib import Path
from dephell_shells import Shells
shells = Shells(bin_path=Path('/home/gram/.../dephell-nLn6/bin'))
shells.current
# ZshShell(bin_path=Path('/home/gram/.../dephell-nLn6'), shell_path=Path('/usr/bin/zsh'))
shells.current.run()
CLI
Show current shell path:
$ python3 -m dephell_shells
/bin/zsh
Actiavate venv:
$ python3.7 -m dephell_shells ./venv/bin
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dephell_shells-0.1.1.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for dephell_shells-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 774f6b4652bfa6dc9f601d2c0f05f3b51e00729636b5eb6099360e0be4bed28d |
|
MD5 | ef99673d1235c182d75007d89bb42252 |
|
BLAKE2b-256 | 4c5bd045ccf3bc702cf9c2c3048979850ee9af0f00313c7413f374d04a34f339 |