Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: recommend pypa build instead of pep517.build #2504

Merged
merged 1 commit into from
Dec 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions docs/build_meta.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,11 @@ specify the package information::
[options]
packages = find:

Now generate the distribution. Although the PyPA is still working to
`provide a recommended tool <https://github.com/pypa/packaging-problems/issues/219>`_
to build packages, the `pep517 package <https://pypi.org/project/pep517>`_
provides this functionality. To build the package::

$ pip install -q pep517
$ mkdir dist
$ python -m pep517.build .
Now generate the distribution. To build the package, use
`PyPA build <https://pypa-build.readthedocs.io/en/latest/>`_::

$ pip install -q build
$ python -m build

And now it's done! The ``.whl`` file and ``.tar.gz`` can then be distributed
and installed::
Expand Down