-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (59 loc) · 1.46 KB
/
pyproject.toml
File metadata and controls
65 lines (59 loc) · 1.46 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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mcap-data-loader"
version = "0.3.0"
description = "MCAP Data Loader"
authors = [{ name = "OpenGHz", email = "your.email@example.com" }]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
dependencies = [
"pydantic",
"pydantic-settings",
"pydantic_yaml",
"numpy",
"more-itertools",
"toolz",
"cachetools",
"typing-extensions",
"flatbuffers",
"foxglove-schemas-flatbuffer",
"mcap",
"pymcap",
"av",
"PyTurboJPEG",
"natsort",
"array-api-compat",
# "types-array-api",
"termcolor",
"inflection",
"send2trash >=1.8.3",
]
urls = { "repository" = "https://github.com/OpenGHz/MCAP-DataLoader.git" }
# Optional dependencies
[project.optional-dependencies]
letrain = ["hydra-core", "torchdata"]
nvc = ["PyNvVideoCodec"]
[tool.setuptools.packages.find]
where = ["."]
include = ["mcap_data_loader*"]
exclude = [
"data*",
"outputs*",
"configs*",
"examples*",
"tests*",
"docs*",
"scripts*",
"third_party*",
]
[tool.setuptools.package-data]
# Include FlatBuffers schema files in the wheel/sdist
"mcap_data_loader" = ["schemas/**/*.fbs", "schemas/**/*.bfbs"]
[tool.setuptools]
include-package-data = true
[project.scripts]
mcap_lerobot_train = "mcap_data_loader.datasets.mcap_lerobot:train"
mcap_lerobot_infer = "mcap_data_loader.datasets.mcap_lerobot:infer"