diff --git a/docs/html/cli/pip_download.rst b/docs/html/cli/pip_download.rst index d247c51ccfb..52fa2c651da 100644 --- a/docs/html/cli/pip_download.rst +++ b/docs/html/cli/pip_download.rst @@ -47,7 +47,12 @@ constrained download requirement. If some of your dependencies are not available as binaries, you can build them manually for your target platform and let pip download know where to find them using ``--find-links``. +.. note:: + To determine the appropriate values for ``--python-version`` and ``--platform``, you can query the target system using the following commands: + + - For the Python version, use :func:`sysconfig.get_python_version() `. + - For the platform, use :func:`packaging.tags.platform_tags() `. Options ======= diff --git a/docs/html/conf.py b/docs/html/conf.py index 0c390c9245a..0a5cdbc2d1f 100644 --- a/docs/html/conf.py +++ b/docs/html/conf.py @@ -78,6 +78,7 @@ intersphinx_mapping = { "python": ("https://docs.python.org/3", None), "pypug": ("https://packaging.python.org", None), + "packaging": ("https://packaging.pypa.io/en/stable/", None), } # -- Options for towncrier_draft extension --------------------------------------------