-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (88 loc) · 2.53 KB
/
pyproject.toml
File metadata and controls
98 lines (88 loc) · 2.53 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
[project]
name = "MyoGestic"
version = "0.10.0"
description = "Software framework made to help the myocontrol community to develop and test new myocontrol algorithms."
authors = [
{ name = "Raul C. Sîmpetru", email = "raul.simpetru@fau.de" },
{ name = "Dominik I. Braun", email = "dome.braun@fau.de" },
{ name = "Vlad Cnejevici", email = "vlad.cnejevici@fau.de" },
]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"biosignal-device-interface",
"catboost>=1.2.7",
"myoverse>=1.1.3",
"numcodecs!=0.16",
"pyside6>=6.8.2.1",
"qdarkstyle>=3.2.3",
"scikit-learn>=1.6.1",
"toml>=0.10.2",
"torch>=2.8.0",
"torchvision>=0.23.0",
"torchaudio>=2.8.0",
"vispy>=0.16.0",
]
[project.scripts]
myogestic = "myogestic.main:main"
[tool.setuptools.packages.find]
include = ["myogestic*"]
[tool.uv]
package = true
config-settings = { editable_mode = "compat" }
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'win32'",
"sys_platform == 'linux'",
]
# Override MyoVerse's torch constraints to use cu126-compatible versions
override-dependencies = [
"torch>=2.8.0",
"torchvision>=0.23.0",
"torchaudio>=2.8.0",
]
[tool.uv.sources]
sphinxcontrib-pdfembed = { git = "https://github.com/SuperKogito/sphinxcontrib-pdfembed.git" }
myoverse = { git = "https://github.com/NsquaredLab/MyoVerse.git" }
torch = [
{ index = "torch-gpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
{ index = "torch-cpu", marker = "sys_platform == 'darwin'" },
]
torchvision = [
{ index = "torch-gpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
{ index = "torch-cpu", marker = "sys_platform == 'darwin'" },
]
torchaudio = [
{ index = "torch-gpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },
{ index = "torch-cpu", marker = "sys_platform == 'darwin'" },
]
[[tool.uv.index]]
name = "torch-gpu"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[[tool.uv.index]]
name = "torch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[dependency-groups]
dev = [
"docutils-stubs>=0.0.22",
"matplotlib>=3.10.0",
"prospector>=1.14.1",
"pytest>=9.0.2",
]
docs = [
"enum-tools[sphinx]>=0.12.0",
"linkify-it-py>=2.0.3",
"memory-profiler>=0.61.0",
"pydata-sphinx-theme>=0.16.1",
"rinohtype>=0.5.5",
"sphinx>=8.1.3",
"sphinx-gallery>=0.19.0",
"sphinxcontrib-pdfembed",
"sphinxcontrib-youtube>=1.4.1",
]
compile = [
"distributed>=2025.2.0",
"pyinstaller>=6.12.0",
]