-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bde9cd
commit 268028e
Showing
1 changed file
with
36 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,18 +7,14 @@ | |
# -------------------------------------------------------------------------------------- | ||
|
||
[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 = [ | ||
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", | ||
|
@@ -30,31 +26,31 @@ classifiers = [ | |
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
] | ||
dependencies = ["typing_extensions;python_version<'3.8'"] | ||
dynamic=["version"] | ||
] | ||
dependencies = ["typing_extensions;python_version<'3.8'"] | ||
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" | ||
[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" | ||
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"]} | ||
include-package-data = false | ||
package-data = { kiwisolver = ["py.typed", "*.pyi"] } | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["py"] | ||
include = ["kiwisolver"] | ||
[tool.setuptools.packages.find] | ||
where = ["py"] | ||
include = ["kiwisolver"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "py/src/version.h" | ||
write_to_template = """ | ||
write_to = "py/src/version.h" | ||
write_to_template = """ | ||
/* ---------------------------------------------------------------------------- | ||
| Copyright (c) 2013-2023, Nucleic Development Team. | ||
| | ||
|
@@ -72,22 +68,22 @@ write_to_template = """ | |
|
||
[tool.ruff] | ||
src = ["src"] | ||
select = ["C", "E", "F", "W", "I", "C90", "RUF"] | ||
extend-exclude = ["tests/instruments/hardware/nifpga/scope_based"] | ||
extend-ignore = ["E501", "RUF012"] | ||
line-length = 88 | ||
[tool.ruff.lint] | ||
select = ["C", "E", "F", "W", "I", "C90", "RUF"] | ||
extend-ignore = ["E501", "RUF012"] | ||
|
||
[tool.ruff.isort] | ||
combine-as-imports = true | ||
known-first-party = ["kiwisolver"] | ||
[tool.ruff.lint.isort] | ||
combine-as-imports = true | ||
known-first-party = ["kiwisolver"] | ||
|
||
[tool.ruff.mccabe] | ||
max-complexity = 20 | ||
[tool.ruff.lint.mccabe] | ||
max-complexity = 20 | ||
|
||
[tool.pytest.ini_options] | ||
minversion = "6.0" | ||
minversion = "6.0" | ||
|
||
[tool.mypy] | ||
follow_imports = "normal" | ||
strict_optional = true | ||
|
||
follow_imports = "normal" | ||
strict_optional = true |