-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
112 lines (101 loc) · 2.69 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = [
"setuptools >= 64.0",
"setuptools_scm[toml] >= 6.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "strava-gear"
description = "Rule based tracker of gear and component wear primarily for Strava"
authors = [{name = "Tomáš Janoušek", email = "[email protected]"}]
license = {text = "MIT"}
readme = {file="README.md", content-type="text/markdown"}
dynamic = ["version"]
classifiers = [ # https://pypi.org/classifiers/
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Utilities",
]
requires-python = "~= 3.8"
dependencies = [
"PyYAML",
"click ~= 8.0",
"importlib-metadata; python_version<'3.10'",
"jsonschema",
"platformdirs >= 2.1",
"python-dateutil >= 2.7",
"tabulate",
]
[project.optional-dependencies]
dev = [
"build >= 0.7",
"flake8 >= 3.7",
"isort >= 5.0",
"mypy >= 0.900",
"prysk >= 0.20.0",
"twine",
"types-PyYAML",
"types-python-dateutil",
"types-tabulate",
]
test = [
"pytest",
]
strava = [
"strava-offline ~= 1.0",
]
[project.urls]
"Homepage" = "https://github.com/liskin/strava-gear"
"Release Notes" = "https://github.com/liskin/strava-gear/releases"
"Issues" = "https://github.com/liskin/strava-gear/issues"
"CI" = "https://github.com/liskin/strava-gear/actions"
"Donations (GitHub)" = "https://github.com/sponsors/liskin"
"Donations (PayPal)" = "https://www.paypal.me/lisknisi/10EUR"
[project.scripts]
strava-gear = "strava_gear.cli:cli"
strava-gear-sync = "strava_gear.cli_strava_offline:cli_sqlite [strava]"
[tool.gha-check-distro]
dependencies-apt = [
"python3-bottle",
"python3-build",
"python3-click",
"python3-click-option-group",
"python3-configobj",
"python3-dateutil",
"python3-flake8",
"python3-importlib-metadata",
"python3-isort",
"python3-jsonschema",
"python3-mypy",
"python3-pep517",
"python3-pip",
"python3-pip-whl",
"python3-platformdirs",
"python3-pytest",
"python3-requests-oauthlib",
"python3-tabulate",
"python3-typeshed",
"python3-typing-extensions",
"python3-venv",
"python3-yaml",
"twine",
]
[tool.setuptools_scm]
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.mypy]
python_executable = ".venv/bin/python3"
show_error_codes = true
[tool.isort]
profile = "open_stack"
[tool.ruff]
line-length = 120
# vim:set et: