Skip to content

Commit d730322

Browse files
parona-sourcedeadc0de6
authored andcommitted
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 <parona@protonmail.com>
1 parent 4c1fcd2 commit d730322

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

completion/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Here are completion files for `bash`, `zsh` and `fish`
22
for the use of dotdrop through the bash script `dotdrop.sh`
3-
or through the Python script `dotdrop` (PyPI, snap, setup.py, etc.).
3+
or through the Python script `dotdrop` (PyPI, snap, etc.).
44

55
`bash` and `zsh` scripts are generated using
66
[infi.docopt_completion](https://github.com/Infinidat/infi.docopt_completion).

completion/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ venv="/tmp/dotdrop-venv"
4141
${vbin} -p python3 ${venv}
4242
# shellcheck source=/dev/null
4343
source ${venv}/bin/activate
44-
python setup.py install
44+
pip install .
4545
cd /tmp
4646
docopt-completion dotdrop --manual-zsh
4747
mv ./_dotdrop "${dt_zsh}"

0 commit comments

Comments
 (0)