Debian Codegraph @

docs/quickstart.rst

raw
1 Quickstart
2 ==========
3
4 To build a wheel for your project::
5
6 python -m pip install build
7 python -m build --wheel
8
9 The wheel will go to ``dist/yourproject-<tags>.whl``.
10
11 If you want to make universal (Python 2/3 compatible, pure Python) wheels, add the following
12 section to your ``setup.cfg``::
13
14 [bdist_wheel]
15 universal = 1
16
17 To convert an ``.egg`` file or directory to a wheel::
18
19 wheel convert youreggfile.egg
20
21 Similarly, to convert a Windows installer (made using ``python setup.py bdist_wininst``) to a
22 wheel::
23
24 wheel convert yourinstaller.exe