diff options
| author | Alex Grönholm <alex.gronholm@nextday.fi> | 2022-01-11 14:30:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-11 14:30:30 +0200 |
| commit | 23e47ba455d2c4345bb82ff2760006a780eb0f23 (patch) | |
| tree | b7d5dcf4462baf75fc8ea67f8a328cc3790a821f /docs | |
| parent | 4f6ba78fede38a8d9e35a14e38377a121033afb3 (diff) | |
| parent | ab82cea0d809968f9e558da06c4b772d1bbd5506 (diff) | |
| download | wheel-git-flit-backend.tar.gz | |
Merge branch 'main' into flit-backendflit-backend
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/quickstart.rst | 5 | ||||
| -rw-r--r-- | docs/user_guide.rst | 6 |
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 --------------------------------------------------- |
