forked from nucleic/kiwi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
89 lines (76 loc) · 2.71 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
81
82
83
84
85
86
87
88
89
# --------------------------------------------------------------------------------------
# Copyright (c) 2013-2022, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# --------------------------------------------------------------------------------------
[project]
name = "kiwisolver"
description = "A fast implementation of the Cassowary constraint solver"
readme = "README.rst"
requires-python = ">=3.7"
license = {file = "LICENSE"}
authors = [
{name = "The Nucleic Development Team", email = "[email protected]"}
]
maintainers = [
{name = "Matthieu C. Dartiailh", email = "[email protected]"}
]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = ["typing_extensions;python_version<'3.8'", "hpy>=0.9.0rc1"]
dynamic=["version"]
[project.urls]
homepage = "https://github.com/nucleic/kiwi"
documentation = "https://kiwisolver.readthedocs.io/en/latest/"
repository = "https://github.com/nucleic/kiwi"
changelog = "https://github.com/nucleic/kiwi/blob/main/releasenotes.rst"
[build-system]
requires = ["setuptools>=61.2", "wheel", "setuptools_scm[toml]>=3.4.3", "cppy>=1.2.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = false
package-data = {kiwisolver = ["py.typed", "*.pyi"]}
[tool.setuptools.packages.find]
where = ["py"]
exclude = ["tests"]
[tool.setuptools_scm]
write_to = "py/src/version.h"
write_to_template = """
/* ----------------------------------------------------------------------------
| Copyright (c) 2013-2021, Nucleic Development Team.
|
| Distributed under the terms of the Modified BSD License.
|
| The full license is in the file LICENSE, distributed with this software.
| ---------------------------------------------------------------------------*/
// This file is auto-generated by setuptools-scm do NOT edit it.
#pragma once
#define PY_KIWI_VERSION "{version}"
"""
[tool.black]
line-length = 88 # Enforce the default value
[tool.pytest.ini_options]
minversion = "6.0"
[tool.mypy]
follow_imports = "normal"
strict_optional = true
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
combine_as_imports = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
known_first_party = "kiwisolver"