Skip to content

Commit

Permalink
Merge branch 'main' into flit-backend
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm authored Jan 11, 2022
2 parents 4f6ba78 + ab82cea commit 23e47ba
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*.pyc
*.so
*.dll
*.dylib
build
dist
docs/_build
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repos:
args: ["-a", "from __future__ import annotations"]

- repo: https://github.com/asottile/pyupgrade
rev: v2.30.1
rev: v2.31.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]
Expand Down
5 changes: 3 additions & 2 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Quickstart
==========

To build a wheel for your setuptools based project::
To build a wheel for your project::

python setup.py bdist_wheel
python -m pip install build
python -m build --wheel

The wheel will go to ``dist/yourproject-<tags>.whl``.

Expand Down
6 changes: 3 additions & 3 deletions docs/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ User Guide
Building Wheels
---------------

Building wheels from a setuptools_ based project is simple::
To build a wheel for your project::

python setup.py bdist_wheel
python -m pip install build
python -m build --wheel

This will build any C extensions in the project and then package those and the
pure Python code into a ``.whl`` file in the ``dist`` directory.
Expand All @@ -20,7 +21,6 @@ adding this to your ``setup.cfg`` file:
[bdist_wheel]
universal = 1
.. _setuptools: https://pypi.org/project/setuptools/
Including license files in the generated wheel file
---------------------------------------------------
Expand Down

0 comments on commit 23e47ba

Please sign in to comment.