-
Notifications
You must be signed in to change notification settings - Fork 55
/
pyproject.toml
70 lines (58 loc) · 1.56 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "advent-of-code-data"
version = "2.0.4"
description = "Get your puzzle data with a single import"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries",
"Topic :: Games/Entertainment :: Puzzle Games",
]
dependencies = [
"beautifulsoup4",
"pebble",
"urllib3",
'tzdata ; platform_system == "Windows"',
"aocd-example-parser >= 2023.2",
]
[[project.authors]]
name = "Wim Jeantine-Glenn"
email = "[email protected]"
[project.license]
text = "MIT"
[project.urls]
Homepage = "https://github.com/wimglenn/advent-of-code-data"
[project.optional-dependencies]
nb = ["IPython", "jupyter-server"]
[project.scripts]
aocd = "aocd.cli:main"
aoc = "aocd.runner:main"
aocd-token = "aocd.cookies:scrape_session_tokens"
aoce = "aocd.examples:main"
[tool.setuptools]
packages = ["aocd"]
[tool.setuptools.package-data]
aocd = ["py.typed"]
[project.entry-points]
"adventofcode.user" = {} # for user solvers
"adventofcode.examples" = {} # for example-parser implementations
[tool.pytest.ini_options]
addopts = """
--strict-markers
--disable-socket
--allow-unix-socket
--cov-branch
--cov=aocd --cov=tests
--cov-report=html --cov-report=term-missing:skip-covered"""
xfail_strict = true
markers = "answer_not_cached"
[tool.coverage.report]
exclude_also = [
"if t\\.TYPE_CHECKING:"
]