mantis-tsf 0.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "mantis-tsf"
|
|
3
|
+
dynamic = ["version"]
|
|
4
|
+
description = "Time Series Facility for MANTIS"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [{ name = "Louis Zhuang", email = "louis.zhuang@acm.org" }]
|
|
7
|
+
requires-python = ">=3.14"
|
|
8
|
+
dependencies = ["pyiceberg>=0.12.0"]
|
|
9
|
+
|
|
10
|
+
[project.scripts]
|
|
11
|
+
tsf = "mantis_tsf:main"
|
|
12
|
+
|
|
13
|
+
[build-system]
|
|
14
|
+
requires = ["hatchling", "uv-dynamic-versioning"]
|
|
15
|
+
build-backend = "hatchling.build"
|
|
16
|
+
|
|
17
|
+
[tool.hatch.version]
|
|
18
|
+
source = "uv-dynamic-versioning"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"""Smoke tests for the installed time-series console entry point."""
|
|
2
|
+
|
|
3
|
+
from importlib.metadata import distribution
|
|
4
|
+
|
|
5
|
+
import mantis_tsf
|
|
6
|
+
import pytest
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def test_console_entry_point_runs(capsys: pytest.CaptureFixture[str]) -> None:
|
|
10
|
+
entry_points = distribution("mantis-tsf").entry_points.select(
|
|
11
|
+
group="console_scripts", name="tsf"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
assert len(entry_points) == 1
|
|
15
|
+
main = next(iter(entry_points)).load()
|
|
16
|
+
assert main is mantis_tsf.main
|
|
17
|
+
assert main() is None
|
|
18
|
+
|
|
19
|
+
captured = capsys.readouterr()
|
|
20
|
+
assert captured.out.strip()
|
|
21
|
+
assert captured.err == ""
|