From d730322af5d0b09e1330de30db2969958dbafeb7 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Thu, 1 May 2025 06:22:38 +0300 Subject: [PATCH] Adjust completion for pep517 Manually building and installing the python packages can be safely omited from the examples. Haven't tested. Signed-off-by: Alfred Wingate --- completion/README.md | 2 +- completion/generate.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/completion/README.md b/completion/README.md index 3cf7e26..a9b748d 100644 --- a/completion/README.md +++ b/completion/README.md @@ -1,6 +1,6 @@ Here are completion files for `bash`, `zsh` and `fish` for the use of dotdrop through the bash script `dotdrop.sh` -or through the Python script `dotdrop` (PyPI, snap, setup.py, etc.). +or through the Python script `dotdrop` (PyPI, snap, etc.). `bash` and `zsh` scripts are generated using [infi.docopt_completion](https://github.com/Infinidat/infi.docopt_completion). diff --git a/completion/generate.sh b/completion/generate.sh index 784051e..b6b5421 100755 --- a/completion/generate.sh +++ b/completion/generate.sh @@ -41,7 +41,7 @@ venv="/tmp/dotdrop-venv" ${vbin} -p python3 ${venv} # shellcheck source=/dev/null source ${venv}/bin/activate -python setup.py install +pip install . cd /tmp docopt-completion dotdrop --manual-zsh mv ./_dotdrop "${dt_zsh}"