File size: 1,538 Bytes
db613b6
 
 
 
 
 
1150050
db613b6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1150050
db613b6
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "kitti-c2l"
version = "0.2.0"
description = "KITTI-based benchmark for camera-LiDAR extrinsic calibration with independent camera/LiDAR decalibration"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10,<3.13"
authors = [
    { name = "Mathieu Cocheteux" },
]
dependencies = [
    "numpy>=1.26.0",
    "pyarrow>=15.0.0",
    "pillow>=10.2.0",
    "pyyaml>=6.0.0",
    "tqdm>=4.66.0",
]

[project.scripts]
kitti-c2l = "kitti_c2l.cli:main"

[project.optional-dependencies]
torch = [
    "torch>=2.2.0",
]
viz = [
    "matplotlib>=3.8.0",
    "scipy>=1.12.0",
]
release = [
    "datasets>=3.0.0",
    "huggingface-hub>=0.26.0",
    "cffconvert>=2.0.0",
]
dev = [
    "ruff>=0.3.0",
    "pytest>=8.0.0",
    "pytest-cov>=4.1.0",
    "matplotlib>=3.8.0",
    "scipy>=1.12.0",
]

[tool.hatch.build.targets.wheel]
packages = ["src/kitti_c2l"]

[tool.hatch.build.targets.wheel.force-include]
"configs/sequence_mapping.yaml" = "kitti_c2l/sequence_mapping.yaml"

[tool.hatch.build.targets.sdist]
exclude = ["/docs/PAPER_PROPOSAL.md"]
include = [
    "/src", "/configs", "/tests", "/scripts", "/docs/*.md", "/release/v1", "/release/v1.1.0",
    "/pyproject.toml", "/uv.lock", "/README.md", "/LICENSE", "/LICENSE-DATA", "/CITATION.cff",
]

[tool.ruff]
line-length = 100
target-version = "py310"

[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "W"]
ignore = ["E501"]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = [".", "src"]