-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (66 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
74 lines (66 loc) · 1.92 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
[project]
name = "peloterm"
version = "0.1.4"
description = "A terminal-based cycling metrics visualization tool"
authors = [{ name = "Andrew Marder", email = "andrew.n.marder@gmail.com" }]
readme = "README.md"
license = { text = "MIT" }
keywords = ["cycling", "bluetooth", "terminal", "metrics", "peloton"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Utilities",
]
dependencies = [
"typer>=0.9.0",
"rich>=13.7.0",
"bleak>=0.21.1",
"pyyaml>=6.0.1",
"fastapi>=0.110.0",
"uvicorn>=0.27.1",
"websockets>=12.0",
"fitparse>=1.2.0",
"requests>=2.28.0",
"stravalib>=1.6.0",
]
requires-python = ">=3.10"
[project.urls]
Homepage = "https://github.com/yourusername/peloterm"
Repository = "https://github.com/yourusername/peloterm"
Issues = "https://github.com/yourusername/peloterm/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["peloterm"]
[tool.hatch.build.targets.wheel.force-include]
"peloterm/web/static" = "peloterm/web/static"
[project.scripts]
peloterm = "peloterm.cli:app"
[tool.ruff]
select = ["E", "F", "I"]
ignore = []
line-length = 100
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"httpx>=0.24.0",
"websockets>=11.0.0",
"fitparse>=1.2.0",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["peloterm/tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
filterwarnings = [
"ignore:datetime.datetime.utcfromtimestamp\\(\\) is deprecated.*:DeprecationWarning:fitparse.processors"
]