Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (73 loc) · 2.53 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (73 loc) · 2.53 KB
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
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "chess"
description = "A chess library with move generation and validation, PGN reading and writing, Polyglot opening book probing, Syzygy and ChessTB endgame tablebase probing, and UCI/XBoard engine communication."
authors = [{ name = "Niklas Fiekas", email = "niklas.fiekas@backscattering.de" }]
license = "GPL-3.0-or-later"
license-files = ["LICENSE.txt"]
requires-python = ">=3.11"
keywords = ["chess", "fen", "epd", "pgn", "polyglot", "syzygy", "chesstb", "gaviota", "uci", "xboard"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Games/Entertainment :: Board Games",
"Topic :: Games/Entertainment :: Turn Based Strategy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
readme = "README.rst"
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/niklasf/python-chess"
Documentation = "https://python-chess.readthedocs.io"
Changelog = "https://github.com/niklasf/python-chess/blob/main/CHANGELOG.md"
[project.optional-dependencies]
lz4 = ["lz4>=4.0,<5"]
[dependency-groups]
docs = [
"sphinx>=8.1,<10.0",
"sphinxcontrib-jquery~=4.1",
"sphinx-rtd-theme~=3.0",
]
typing = [
"mypy~=2.4",
"pyright~=1.1.414",
"ty~=1.0",
]
lint = [
"ruff~=0.17.6",
]
dev = [
"twine~=7.0",
{ include-group = "docs" },
{ include-group = "lint" },
{ include-group = "typing" },
]
fuzz = [
"atheris~=3.1; sys_platform == 'linux' and platform_machine == 'x86_64' and python_version >= '3.12' and python_version < '3.15'",
"types-atheris~=3.1; sys_platform == 'linux' and platform_machine == 'x86_64' and python_version >= '3.12' and python_version < '3.15'",
]
[tool.setuptools]
packages = ["chess"]
[tool.setuptools.package-data]
chess = ["py.typed"]
[tool.setuptools.dynamic]
version = { attr = "chess.__version__" }
[tool.ruff]
line-length = 160
[tool.ruff.lint]
select = ["E", "F", "W"] # pycodestyle and pyflakes, like flake8
ignore = [
"E722", # Bare except (with or without reraise)
"E741", # Allow "ambiguous" variable names
]