File size: 1,385 Bytes
7ab05dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[project]
name            = "bimstruct3d-segmentation"
version         = "0.1.0"
description     = "PT-v3m1 point-cloud semantic segmentation model from the BIMStruct3D pipeline: bundled checkpoint + config + segment_scan.py."
requires-python = ">=3.12,<3.13"

dependencies = [
    "torch==2.7.0",
    "torchvision",
    "spconv-cu126==2.3.8",
    "torch-scatter==2.1.2+pt27cu126",
    "torch-cluster==1.6.3+pt27cu126",
    "timm",
    "addict",
    "peft",
    "yapf",
    "termcolor",
    "scipy",
    "pillow",
    "laspy[laszip]",
    "open3d",
    "numpy",
]

# Upstream Pointcept (github.com/Pointcept/Pointcept) ships no setup.py/pyproject.toml
# of its own -- it's only ever used via PYTHONPATH. The pointcept/ directory here is a
# trimmed vendored copy (inference-only backbones/datasets, see comments in its
# __init__.py files) packaged as part of this project so `uv sync` installs it for real
# instead of relying on a cwd-relative import.
[tool.hatch.build.targets.wheel]
packages = ["pointcept"]

[build-system]
requires      = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv]
find-links = ["https://data.pyg.org/whl/torch-2.7.0+cu126.html"]

[tool.uv.sources]
torch       = { index = "pytorch-cu126" }
torchvision = { index = "pytorch-cu126" }

[[tool.uv.index]]
name     = "pytorch-cu126"
url      = "https://download.pytorch.org/whl/cu126"
explicit = true