Skip to content

Commit

Permalink
Merge pull request #2504 from henryiii/patch-1
Browse files Browse the repository at this point in the history
docs: recommend pypa build instead of pep517.build
  • Loading branch information
jaraco authored Dec 23, 2020
2 parents ac23110 + 66ca253 commit 2878bad
Showing 1 changed file with 5 additions and 8 deletions.
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

0 comments on commit 2878bad

Please sign in to comment.