1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 16:07:57 +03:00
WeasyPrint/pyproject.toml

77 lines
2.3 KiB
TOML
Raw Normal View History

2020-12-06 22:19:59 +03:00
[build-system]
2021-04-02 17:24:01 +03:00
requires = ['flit_core >=3.2,<4']
build-backend = 'flit_core.buildapi'
2020-12-06 22:19:59 +03:00
2021-04-02 17:24:01 +03:00
[project]
name = 'weasyprint'
2021-04-17 18:37:19 +03:00
description = 'The Awesome Document Factory'
2021-04-02 17:24:01 +03:00
keywords = ['html', 'css', 'pdf', 'converter']
authors = [{name = 'Simon Sapin', email = 'simon.sapin@exyr.org'}]
maintainers = [{name = 'CourtBouillon', email = 'contact@courtbouillon.org'}]
requires-python = '>=3.6'
readme = {file = 'README.rst', content-type = 'text/x-rst'}
license = {file = 'LICENSE'}
dependencies = [
2021-04-26 12:34:04 +03:00
'pydyf >=0.0.3',
2020-12-06 22:19:59 +03:00
'cffi >=0.6',
2021-11-10 23:43:00 +03:00
'html5lib >=1.1',
2020-12-06 22:19:59 +03:00
'tinycss2 >=1.0.0',
'cssselect2 >=0.1',
'Pyphen >=0.9.1',
'Pillow >=4.0.0',
'fonttools[woff] >=4.0.0',
2020-12-06 22:19:59 +03:00
]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Printing',
]
2021-04-17 18:37:19 +03:00
dynamic = ['version']
2020-12-06 22:19:59 +03:00
2021-04-02 17:24:01 +03:00
[project.urls]
2021-04-17 18:37:19 +03:00
Homepage = 'https://www.courtbouillon.org/weasyprint'
Documentation = 'https://doc.courtbouillon.org/weasyprint/'
Code = 'https://github.com/Kozea/WeasyPrint'
Issues = 'https://github.com/Kozea/WeasyPrint/issues'
Changelog = 'https://github.com/Kozea/WeasyPrint/releases'
Donation = 'https://opencollective.com/courtbouillon'
2021-04-02 17:24:01 +03:00
[project.optional-dependencies]
2020-12-06 22:19:59 +03:00
doc = ['sphinx', 'sphinx_rtd_theme']
test = ['pytest', 'pytest-cov', 'pytest-flake8', 'pytest-isort', 'coverage[toml]']
2021-04-02 17:24:01 +03:00
[project.scripts]
2020-12-06 22:19:59 +03:00
weasyprint = 'weasyprint.__main__:main'
[tool.flit.sdist]
exclude = ['.*', 'tests/results']
[tool.pytest.ini_options]
addopts = '--isort --flake8 --cov --no-cov-on-fail'
2020-12-06 22:19:59 +03:00
[tool.coverage.run]
branch = true
include = ['tests/*', 'weasyprint/*']
[tool.coverage.report]
exclude_lines = ['pragma: no cover', 'def __repr__', 'raise NotImplementedError']
omit = ['.*']
[tool.isort]
default_section = 'FIRSTPARTY'
multi_line_output = 4