Skip to content

Commit 64b34b4

Browse files
developerdeveloper
authored andcommitted
fix: changed command sysconfig.get_platform() by packaging.tags.sys_tags()
1 parent 38a9bef commit 64b34b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/html/cli/pip_download.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ and let pip download know where to find them using ``--find-links``.
5252
To determine the appropriate values for ``--python-version`` and ``--platform``, you can query the target system using the following commands:
5353

5454
- For the Python version, use :func:`sysconfig.get_python_version() <sysconfig.get_python_version>`.
55-
- For the platform, use :func:`sysconfig.get_platform() <sysconfig.get_platform>`.
55+
- For the platform, use :func:`packaging.tags.sys_tags() <packaging.tags.sys_tags>`.
5656

5757
Refer to the official Python documentation for more details:
5858
- `sysconfig.get_python_version() <https://docs.python.org/3/library/sysconfig.html#sysconfig.get_python_version>`_
59-
- `sysconfig.get_platform() <https://docs.python.org/3/library/sysconfig.html#sysconfig.get_platform>`_
59+
- `packaging.tags.sys_tags() <https://packaging.pypa.io/en/latest/tags.html>`_
6060

6161
Options
6262
=======

0 commit comments

Comments
 (0)