kislyuk / argcomplete

Python and tab completion, better together.
https://kislyuk.github.io/argcomplete/
Apache License 2.0
1.39k stars 129 forks source link

[question] does argcomplete also work with pip installs? #371

Closed avlapp closed 2 years ago

avlapp commented 2 years ago

Hi, I was wondering if argcomplete only works with .py files or also with installed whl (wheel) files via pip?

Any pointers how to get it done? My *.py script works, but my pip install not.

avlapp commented 2 years ago

I found this: If you use setuptools/distribute scripts or entry_points directives to package your module, argcomplete will follow the wrapper scripts to their destination and look for PYTHON_ARGCOMPLETE_OK in the destination code.

Got it working, sorry for the noise.