Skip to content

Commit d8745c0

Browse files
committed
fix: pyproject ignoring all rl/ subdirectories
1 parent dca286e commit d8745c0

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

hud/utils/tests/test_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ def test_import():
55
"""Test that the package can be imported."""
66
import hud
77

8-
assert hud.__version__ == "0.4.15"
8+
assert hud.__version__ == "0.4.16"

hud/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
from __future__ import annotations
66

7-
__version__ = "0.4.15"
7+
__version__ = "0.4.16"

pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hud-python"
3-
version = "0.4.15"
3+
version = "0.4.16"
44
description = "SDK for the HUD platform."
55
readme = "README.md"
66
requires-python = ">=3.11, <3.14"
@@ -58,7 +58,7 @@ exclude = [
5858
"environments/",
5959
"docs/",
6060
"examples/",
61-
"rl/",
61+
"/rl/", # Only exclude top-level rl directory, not hud/cli/rl/
6262
]
6363

6464
[tool.hud.clone]
@@ -80,7 +80,12 @@ style = "blue"
8080
allow-direct-references = true
8181

8282
[tool.hatch.build.targets.sdist]
83-
include = ["hud/**", "README.md", "LICENSE", "pyproject.toml"]
83+
include = [
84+
"hud/**", # Include all files under hud/, including hud/cli/rl/
85+
"README.md",
86+
"LICENSE",
87+
"pyproject.toml"
88+
]
8489
exclude = [
8590
"*/tests/",
8691
"*/__pycache__/",

0 commit comments

Comments
 (0)