| 1 |
[build-system] |
| 2 |
requires = ['flit_core >=3.2,<4'] |
| 3 |
build-backend = 'flit_core.buildapi' |
| 4 |
|
| 5 |
[project] |
| 6 |
name = 'cairocffi' |
| 7 |
description = 'cffi-based cairo bindings for Python' |
| 8 |
keywords = ['cairo', 'cffi', 'binding'] |
| 9 |
authors = [{name = 'Simon Sapin', email = '[email protected]'}] |
| 10 |
maintainers = [{name = 'CourtBouillon', email = '[email protected]'}] |
| 11 |
requires-python = '>=3.8' |
| 12 |
readme = {file = 'README.rst', content-type = 'text/x-rst'} |
| 13 |
license = {file = 'LICENSE'} |
| 14 |
dependencies = [ |
| 15 |
'cffi >= 1.1.0', |
| 16 |
] |
| 17 |
classifiers = [ |
| 18 |
'Development Status :: 5 - Production/Stable', |
| 19 |
'Intended Audience :: Developers', |
| 20 |
'License :: OSI Approved :: BSD License', |
| 21 |
'Operating System :: POSIX :: Linux', |
| 22 |
'Operating System :: MacOS :: MacOS X', |
| 23 |
'Operating System :: Microsoft :: Windows', |
| 24 |
'Programming Language :: Python :: 3 :: Only', |
| 25 |
'Programming Language :: Python :: 3.8', |
| 26 |
'Programming Language :: Python :: 3.9', |
| 27 |
'Programming Language :: Python :: 3.10', |
| 28 |
'Programming Language :: Python :: 3.11', |
| 29 |
'Programming Language :: Python :: 3.12', |
| 30 |
'Topic :: Multimedia :: Graphics', |
| 31 |
] |
| 32 |
dynamic = ['version'] |
| 33 |
|
| 34 |
[project.urls] |
| 35 |
Documentation = 'https://doc.courtbouillon.org/cairocffi/' |
| 36 |
Code = 'https://github.com/Kozea/cairocffi/' |
| 37 |
Issues = 'https://github.com/Kozea/cairocffi/issues' |
| 38 |
Changelog = 'https://doc.courtbouillon.org/cairocffi/stable/changelog.html' |
| 39 |
Donation = 'https://opencollective.com/courtbouillon' |
| 40 |
|
| 41 |
[project.optional-dependencies] |
| 42 |
doc = ['sphinx', 'sphinx_rtd_theme'] |
| 43 |
test = ['pytest', 'ruff', 'numpy', 'pikepdf'] |
| 44 |
xcb = ['xcffib >= 1.4.0'] |
| 45 |
|
| 46 |
[tool.flit.sdist] |
| 47 |
exclude = ['.*'] |
| 48 |
|
| 49 |
[tool.coverage.run] |
| 50 |
branch = true |
| 51 |
include = ['cairocffi/*'] |
| 52 |
|
| 53 |
[tool.coverage.report] |
| 54 |
exclude_lines = ['pragma: no cover', 'def __repr__', 'raise NotImplementedError'] |
| 55 |
omit = ['.*'] |
| 56 |
|
| 57 |
[tool.ruff.lint] |
| 58 |
select = ['E', 'W', 'F', 'I', 'N', 'RUF'] |
| 59 |
ignore = ['RUF001', 'RUF002', 'RUF003'] |