File: README.md

package info (click to toggle)
pyqt-builder 1.18.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: python: 2,123; makefile: 18
file content (52 lines) | stat: -rw-r--r-- 1,450 bytes parent folder | download | duplicates (2)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# PyQt-builder - the PyQt Build System

PyQt-builder is the PEP 517 compliant build system for PyQt and projects that
extend PyQt.  It extends the [SIP](https://pypi.org/project/sip/) build system
and uses Qt's `qmake` to perform the actual compilation and installation of
extension modules.

Projects that use PyQt-builder provide an appropriate `pyproject.toml` file and
an optional `project.py` script.  Any PEP 517 compliant frontend, for example
`build` or `pip` can then be used to build and install the project.


## Documentation

The documentation can be found at
[Read the Docs](https://PyQt-builder.readthedocs.io).


## License

PyQt-builder is licensed under the BSD 2 clause license.


## Installation

To install SIP, run:

    pip install sip


## Creating Packages for Distribution

Python sdists and wheels can be created with any standard Python build
frontend.

For example, using [build](https://pypi.org/project/build/) an sdist and wheel
will be created from a checkout in the current directory by running:

    python -m build --outdir .


## Building the Documentation

The documentation is built using [Sphinx](https://pypi.org/project/Sphinx/),
[myst_parser](https://pypi.org/project/myst-parser/) and the
[sphinx-rtd-theme](https://pypi.org/project/sphinx-rtd-theme/) theme.

Change to the `docs` directory of a checkout and run:

    make html

The HTML documentation can then be found in the `_build/html` subdirectory.