-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
81 lines (69 loc) · 2.11 KB
/
pyproject.toml
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[build-system]
requires = ["scikit-build-core", "pybind11>=2.12,<2.14"]
build-backend = "scikit_build_core.build"
[project]
name = "pyhtml2md"
authors = [
{ name = "Tim Gromeyer", email = "sakul8826@gmail.com" }
]
description = "Transform your HTML into clean, easy-to-read markdown with pyhtml2md."
readme = "python/README.md"
requires-python = ">=3.7"
license = { text = "MIT" }
version = "1.6.0"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: C++",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: File Formats",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Text Processing :: Markup :: HTML",
]
keywords = [
"html", "markdown", "html-to-markdown",
"python3", "cpp17", "cpp-library",
"html2markdown", "html2md"
]
[project.urls]
Repository = "https://github.com/tim-gromeyer/html2md"
[project.optional-dependencies]
test = ["pytest>=6.0"]
[tool.scikit-build]
cmake.verbose = true
logging.level = "INFO"
minimum-version = "0.8"
# TODO: Figure out when CMake added FindPython
cmake.version = ">=3.12"
[tool.scikit-build.cmake.define]
PYTHON_BINDINGS = "ON"
PYBIND11_FINDPYTHON = "ON"
[tool.isort]
profile = "black"
[tool.mypy]
files = "setup.py"
python_version = "3.7"
strict = true
show_error_codes = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
warn_unreachable = true
[[tool.mypy.overrides]]
module = ["ninja"]
ignore_missing_imports = true
[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = ["error"]
testpaths = ["tests"]
[tool.cibuildwheel]
test-command = "pytest {project}/tests"
test-extras = ["test"]
test-skip = ["*universal2:arm64"]
# Setuptools bug causes collision between pypy and cpython artifacts
before-build = "rm -rf {project}/build"