blob: 365a4326701ade11afe1f03cf3212378cf2ce37c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
Packaging
=========
This is a guide mainly for packagers who want to distribute lcitool.
Building distributions
----------------------
Build backend
~~~~~~~~~~~~~
This project is based on setuptools and is fully compliant with
`PEP 517 <https://peps.python.org/pep-0517/>`_
relying solely on ``pyproject.toml`` as the only build configuration source.
Building the package
~~~~~~~~~~~~~~~~~~~~
lcitool package can be simply built with
::
# from the git root
$ python3 -m build
if for some reason you want only a source distribution or a wheel distributable
then use the following respectively:
::
# build source distribution
$ python3 -m build --sdist
# build a wheel
$ python3 -m build --wheel
Note that if only a wheel is requested, it is built out of the source code base
rather than from an `sdist` like it normally would.
|