Skip to content

Commit 8e5ad6a

Browse files
committed
Remove easy_install script detection
Modern script wrappers no longer include these markers.
1 parent fae5549 commit 8e5ad6a

3 files changed

Lines changed: 1 addition & 89 deletions

File tree

argcomplete/bash_completion.d/_python-argcomplete

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,7 @@ _python_argcomplete_global() {
190190
interpreter=($interpreter)
191191
fi
192192

193-
if (__python_argcomplete_scan_head_noerr "$SCRIPT_NAME" easy_install \
194-
&& "${interpreter[@]}" "$(__python_argcomplete_which python-argcomplete-check-easy-install-script)" "$SCRIPT_NAME") >/dev/null 2>&1; then
195-
ARGCOMPLETE=1
196-
elif ([[ "${interpreter[@]}" == *python* ]] || [[ "${interpreter[@]}" == *pypy* ]])\
193+
if ([[ "${interpreter[@]}" == *python* ]] || [[ "${interpreter[@]}" == *pypy* ]])\
197194
&& __python_argcomplete_run "${interpreter[@]}" -m argcomplete._check_console_script "$SCRIPT_NAME"; then
198195
ARGCOMPLETE=1
199196
fi

argcomplete/scripts/python_argcomplete_check_easy_install_script.py

Lines changed: 0 additions & 84 deletions
This file was deleted.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ classifiers = [
3232

3333
[project.scripts]
3434
activate-global-python-argcomplete = "argcomplete.scripts.activate_global_python_argcomplete:main"
35-
python-argcomplete-check-easy-install-script = "argcomplete.scripts.python_argcomplete_check_easy_install_script:main"
3635
register-python-argcomplete = "argcomplete.scripts.register_python_argcomplete:main"
3736

3837
[project.optional-dependencies]

0 commit comments

Comments
 (0)