summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/quickstart.rst5
-rw-r--r--docs/user_guide.rst6
2 files changed, 6 insertions, 5 deletions
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index a8fe813..13c16a3 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -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``.
diff --git a/docs/user_guide.rst b/docs/user_guide.rst
index 6517258..c8b5a34 100644
--- a/docs/user_guide.rst
+++ b/docs/user_guide.rst
@@ -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.
@@ -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
---------------------------------------------------