Skip to content

Commit 92e34b7

Browse files
committed
move models directory
1 parent ced4263 commit 92e34b7

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

pyproject.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,3 @@ help = "Profile cpu and memory of task with scalene"
102102
[tool.poe.tasks.profile]
103103
cmd = "uv run pyinstrument -r html"
104104
help = "Profile cpu of task with pyinstrument"
105-
106-
[tool.hatch.build.targets.sdist]
107-
only-include = ["src/l2label", "models"]
108-
109-
[tool.hatch.build.targets.wheel]
110-
packages = ["src/l2label"]
111-
112-
[tool.hatch.build.targets.wheel.force-include]
113-
"models" = "l2label/models"

src/l2label/models.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
import pathlib
44
from typing import Optional
55

6-
import xgboost
7-
8-
model_dir = pathlib.Path(__file__).parents[2] / "models"
6+
model_dir = pathlib.Path(__file__).parent / "models"
97

108
current_model = "model_ds15_us0_bd0.json"
119

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)