-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
100 lines (86 loc) · 1.81 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
[tool.ruff]
target-version = "py310"
[tool.ruff.lint]
extend-select = ["I", "UP"]
extend-ignore = ["TRY003"]
[tool.ruff.lint.flake8-type-checking]
quote-annotations = true
[tool.pytest.ini_options]
addopts = "--cov=streamjoy/ --cov-report=term-missing"
[tool.hatch]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "regex_commit"
commit_extra_args = ["-e"]
path = "streamjoy/__init__.py"
[tool.hatch.envs.default]
python = "3.9"
dependencies = [
"ruff",
"pytest",
"pytest-cov",
"mkdocs-material",
"mkdocstrings[python]",
"xarray",
"pandas",
"polars",
"zarr",
"netcdf4",
"matplotlib",
"pyarrow",
"hvplot",
"bs4",
"selenium",
"webdriver_manager",
"panel",
]
[tool.hatch.envs.default.scripts]
test = "pytest"
test-cov-xml = "pytest --cov-report=xml"
lint = [
"ruff format .",
"ruff check --fix .",
]
lint-check = [
"ruff format --check .",
"ruff check .",
]
docs-serve = "mkdocs serve"
docs-build = "mkdocs build"
[build-system]
requires = ["hatchling", "hatch-regex-commit"]
build-backend = "hatchling.build"
[project]
name = "streamjoy"
authors = [
{ name = "streamjoy", email = "hey.at.py@gmail.com" }
]
description = "Enjoy animating images into GIFs and MP4s!"
readme = "README.md"
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.9"
dependencies = [
"param>2",
"dask[distributed]",
"imageio[pyav]>=2.34.0",
"pygifsicle==1.0.5",
"requests",
"bs4",
]
[project.urls]
Documentation = "https://ahuang11.github.io/streamjoy/"
Source = "https://github.com/ahuang11/streamjoy"
[project.scripts]
streamjoy = "streamjoy.cli:main"
[project.optional-dependencies]
ui = [
"panel",
"param",
"requests",
"xarray",
"netcdf4",
]