1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
Name: argcomplete
3
- Version: 3.5.2
3
+ Version: 3.5.3
4
4
Summary: Bash tab completion for argparse
5
- Home-page: https://github.com/kislyuk/argcomplete
6
- Author: Andrey Kislyuk
7
- Author-email: kislyuk@gmail.com
8
- License: Apache Software License
5
+ Project-URL: Homepage, https://github.com/kislyuk/argcomplete
9
6
Project-URL: Documentation, https://kislyuk.github.io/argcomplete
10
7
Project-URL: Source Code, https://github.com/kislyuk/argcomplete
11
8
Project-URL: Issue Tracker, https://github.com/kislyuk/argcomplete/issues
12
9
Project-URL: Change Log, https://github.com/kislyuk/argcomplete/blob/develop/Changes.rst
13
- Platform: MacOS X
14
- Platform: Posix
10
+ Author: Andrey Kislyuk
11
+ Author-email: kislyuk@gmail.com
12
+ License: Apache Software License
13
+ License-File: LICENSE.rst
14
+ License-File: NOTICE
15
+ Classifier: Development Status :: 5 - Production/Stable
15
16
Classifier: Environment :: Console
16
17
Classifier: Intended Audience :: Developers
17
18
Classifier: License :: OSI Approved :: Apache Software License
@@ -27,21 +28,18 @@ Classifier: Programming Language :: Python :: 3.11
27
28
Classifier: Programming Language :: Python :: 3.12
28
29
Classifier: Programming Language :: Python :: Implementation :: CPython
29
30
Classifier: Programming Language :: Python :: Implementation :: PyPy
30
- Classifier: Development Status :: 5 - Production/Stable
31
31
Classifier: Topic :: Software Development
32
32
Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
33
Classifier: Topic :: System :: Shells
34
34
Classifier: Topic :: Terminals
35
35
Requires-Python: >=3.8
36
- Description-Content-Type: text/x-rst
37
- License-File: LICENSE.rst
38
- License-File: NOTICE
39
36
Provides-Extra: test
40
- Requires-Dist: coverage; extra == "test"
41
- Requires-Dist: pexpect; extra == "test"
42
- Requires-Dist: wheel; extra == "test"
43
- Requires-Dist: ruff; extra == "test"
44
- Requires-Dist: mypy; extra == "test"
37
+ Requires-Dist: coverage; extra == 'test'
38
+ Requires-Dist: mypy; extra == 'test'
39
+ Requires-Dist: pexpect; extra == 'test'
40
+ Requires-Dist: ruff; extra == 'test'
41
+ Requires-Dist: wheel; extra == 'test'
42
+ Description-Content-Type: text/x-rst
45
43
46
44
argcomplete - Bash/zsh tab completion for argparse
47
45
==================================================
@@ -85,6 +83,9 @@ follows:
85
83
args = parser.parse_args()
86
84
...
87
85
86
+ If using ``pyproject.toml`` ``[project.scripts]`` entry points, the ``PYTHON_ARGCOMPLETE_OK`` marker should appear
87
+ at the beginning of the file that contains the entry point.
88
+
88
89
Register your Python application with your shell's completion framework by running ``register-python-argcomplete``::
89
90
90
91
eval "$(register-python-argcomplete my-python-app)"
@@ -268,9 +269,9 @@ multiple Python versions on the same system, the version being used to run the s
268
269
``/etc/shells``, and run ``chsh`` to change your shell). You can check the version of the running copy of bash with
269
270
``echo $BASH_VERSION``.
270
271
271
- .. note:: If you use setuptools/distribute `` scripts`` or ``entry_points`` directives to package your module ,
272
+ .. note:: If you use ``project. scripts`` directives to provide command line entry points to your package ,
272
273
argcomplete will follow the wrapper scripts to their destination and look for ``PYTHON_ARGCOMPLETE_OK`` in the
273
- destination code.
274
+ first kilobyte of the file containing the destination code.
274
275
275
276
If you choose not to use global completion, or ship a completion module that depends on argcomplete, you must register
276
277
your script explicitly using ``eval "$(register-python-argcomplete my-python-app)"``. Standard completion module
0 commit comments