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.3.tar.gz
(7.6 kB
view hashes)
Built Distribution
Close
Hashes for dephell_shells-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd052244c422a64528b71b440e1b166f150fef6bf413441d72d94b75085b24b0 |
|
MD5 | 4bb16a06da8d539635f4de1c328d16e4 |
|
BLAKE2b-256 | bf464967ebeee013527aeaf7a544e077517e907f718329e770a5df00b7353b0b |