Python venv how-to: drop the bash completion note
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
82994b1a97
commit
b4c4e27803
1 file changed
+1
-3
@@ -71,9 +71,7 @@ Example: the IOC utilities (`ioc` command, package `cas-iocutils`). Cloning need
|
||||
|
||||
pip install .
|
||||
|
||||
Check that it worked: `which ioc` prints `$VENVS/iocutils/bin/ioc`, and `ioc --help` lists the commands. The dependencies (`PyYAML`, `requests`, `python-dateutil`, `click`) come from the package index. Bash completion for `ioc` is not activated in a venv. To enable it, in the activated environment:
|
||||
|
||||
source "$(python -c 'import site; print(site.getsitepackages()[0])')/etc/bash_completion.d/iocutils"
|
||||
Check that it worked: `which ioc` prints `$VENVS/iocutils/bin/ioc`, and `ioc --help` lists the commands. The dependencies (`PyYAML`, `requests`, `python-dateutil`, `click`) come from the package index.
|
||||
|
||||
The commands of the tool are on the [IOC Utils](../../2._Services_Portfolio/Tools/01_ioc_utils.md) page.
|
||||
|
||||
|
||||
Reference in new issue
Block a user