forked from cinemagoer/cinemagoer
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (116 loc) · 2.71 KB
/
pyproject.toml
File metadata and controls
136 lines (116 loc) · 2.71 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[project]
name = "cinemagoer"
version = "2025.05.19"
description = "Retrieve data from IMDb."
readme = "README.rst"
authors = [
{name = "Davide Alberani", email = "da@mimante.net"},
{name = "H. Turgut Uyar", email = "uyar@tekir.org"},
]
license = {file = "LICENSE.txt"}
keywords = [
"imdb",
"movie",
"cinema",
"film",
"cast",
"actor",
"actress",
"director",
"character",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Natural Language :: English",
"Natural Language :: Italian",
"Natural Language :: Turkish",
"Programming Language :: Python",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = "~=3.10"
dependencies = [
"lxml~=5.4.0",
"sqlalchemy~=2.0.41",
]
[dependency-groups]
test = [
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
]
style = [
"ruff>=0.11.10",
]
doc = [
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.0.2",
]
dev = [
{include-group = "test"},
{include-group = "style"},
{include-group = "doc"},
"tox-uv>=1.25.0",
]
[project.urls]
homepage = "https://cinemagoer.github.io/"
documentation = "https://cinemagoer.readthedocs.io/"
repository = "https://github.com/cinemagoer/cinemagoer"
[project.scripts]
cinemagoer = "imdb.cli:main"
[tool.setuptools]
include-package-data = false
[tool.setuptools.package-data]
"imdb.locale" = [
"imdbpy.pot",
"imdbpy-*.po",
"*/LC_MESSAGES/imdbpy.mo",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.coverage.run]
source_pkgs = ["imdb"]
[tool.coverage.report]
show_missing = true
skip_covered = true
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["A", "E", "F", "I", "T", "W"]
ignore = ["E501", "E731"]
exclude = ["imdb/parser/sql/**/*.py"]
[tool.ruff.lint.per-file-ignores]
"imdb/cli.py" = ["T201"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py3{10,11,12,13}, style, doc
isolated_build = true
[testenv]
runner = uv-venv-lock-runner
package = wheel
wheel_build_env = .pkg
commands =
pytest
[testenv:coverage]
commands =
pytest --cov
[testenv:style]
commands =
ruff check --preview imdb tests
[testenv:docs]
changedir = docs/
commands =
sphinx-build -b html ./ _build/
"""
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"