-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
109 lines (87 loc) · 3.63 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "gaitalytics"
dynamic = ["version"]
description = "easy gait-metrics for everyone"
authors = [{ name = "André Böni", email = "[email protected]" }]
maintainers = [{ name = "André Böni", email = "[email protected]" }]
readme = "README.rst"
license = { file = "LICENSE" }
keywords = ["gait-analysis", "mocap", "c3d", "gait-metrics", "biomechanics"]
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Researcher",
"Topic :: Software Development :: Build Tools",
# Pick your license as you wish (see also "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", ]
requires-python = ">= 3.11"
dependencies = ["h5netcdf>=1.3.0,<1.4", "pandas>=1.5,<2.3", "pyyaml>=6.0.1,<6.1", "scipy>=1.13,<1.15", "numpy>=1.23,<2.1", "xarray>=2024.6.0,<2024.7"]
[project.urls]
Homepage = "https://github.com/DART-Lab-LLUI/python-gaitalytics"
Documentation = "https://python-gaitalytics.readthedocs.io"
Repository = "https://github.com/DART-Lab-LLUI/python-gaitalytics"
Issues = "https://github.com/DART-Lab-LLUI/python-gaitalytics/issues"
#Changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
[project.optional-dependencies]
dev = ["ruff", "mypy", "pip"]
test = ["pytest", "pytest-cov"]
build = ["build", "setuptools>=64", "setuptools_scm>=8"]
docs = ["sphinx", "sphinx-rtd-theme", "sphinx-autodoc-typehints", "sphinx_github_changelog"]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
[tool.pixi.pypi-dependencies]
gaitalytics = { path = ".", editable = true }
[tool.pixi.dependencies]
pyomeca = ">=2021.0,<2021.1"
ezc3d = { version = ">=1.5.10,<1.6", build = "*python*" }
pixi-pycharm = ">=0.0.6,<0.1"
# Environments
[tool.pixi.environments]
dev = { features = ["py311", "test", "dev"] }
build = { features = ["build", "py311"] }
docs = { features = ["docs", "py311"] }
py311 = { features = ["py311", "test"] }
py312 = { features = ["py312", "test"] }
[tool.pixi.feature.py311.dependencies]
python = ">=3.11,<3.12"
[tool.pixi.feature.py312.dependencies]
python = ">=3.12.0,<3.13.0"
[tool.pixi.feature.docs.tasks]
clean-docs = "cleanpy --include-builds --exclude .pixi ."
docs = "sphinx-build -M html ./docs ./docs/_build -W --keep-going"
readthedocs = { cmd = "rm -rf $READTHEDOCS_OUTPUT/html && cp -r docs/_build/html $READTHEDOCS_OUTPUT/html", depends_on = ["docs"] }
[tool.pixi.tasks]
test-full = "pytest -vv --cov=gaitalytics --cov-report=term-missing --cov-config=.coveragerc --capture=sys"
test-api = "pytest -vv --capture=sys tests/test_api.py"
[tool.pixi.feature.dev.tasks]
ruff-format = "ruff format gaitalytics"
ruff-check = { cmd = "ruff check gaitalytics --fix", depends-on = ["ruff-format"] }
check-code = { cmd = "mypy gaitalytics --check-untyped-defs", depends-on = ["ruff-check"] }
[tool.pixi.feature.build.tasks]
build = "python -m build -n"
sdist = "python -m build --sdist -n"
wheel = "python -m build --wheel -n"
[tool.setuptools]
packages = ["gaitalytics", "gaitalytics.utils"]
[tool.setuptools_scm]
[tool.ruff-lint]
select = [
"E", "F", "B", "UP", "D"
]
pydocstyle = "google"
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = "True"