Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit e70c2af

Browse files
quickstart: recommend PyPA build instead of pep517.build
see pypa/pyproject-hooks#91
1 parent c121d28 commit e70c2af

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,17 @@
7373
),
7474
}
7575

76+
intersphinx_mapping = {
77+
'pypa-build': ('https://pypa-build.readthedocs.io/en/latest/', None)
78+
}
7679

7780
# Add support for linking usernames
7881
github_url = 'https://github.com'
7982
github_sponsors_url = f'{github_url}/sponsors'
8083
extlinks = {
8184
'user': (f'{github_sponsors_url}/%s', '@'), # noqa: WPS323
8285
}
83-
extensions += ['sphinx.ext.extlinks']
86+
extensions += ['sphinx.ext.extlinks', 'sphinx.ext.intersphinx']
8487

8588
# Be strict about any broken references:
8689
nitpicky = True

docs/userguide/quickstart.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ This is what your project would look like::
5959
setup.cfg
6060
mypackage/__init__.py
6161

62-
Then, you need an installer, such as `pep517 <https://pypi.org/project/pep517/>`_
63-
which you can obtain via ``pip install pep517``. After downloading it, invoke
62+
Then, you need an installer, such as :std:doc:`PyPA build <pypa-build:index>`
63+
which you can obtain via ``pip install build``. After downloading it, invoke
6464
the installer::
6565

66-
python -m pep517.build .
66+
python -m build
6767

6868
You now have your distribution ready (e.g. a ``tar.gz`` file and a ``.whl``
6969
file in the ``dist`` directory), which you can upload to PyPI!

0 commit comments

Comments
 (0)