refactor: drop decnet- prefix — BEHAVE is now standalone
Rename packages and imports: decnet-behave-core → behave-core decnet-behave-shell → behave-shell decnet-behave-text → behave-text decnet_behave_* → behave_* BEHAVE is no longer a DECNET sub-project.
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
|
||||
Importable as::
|
||||
|
||||
from decnet_behave_core.spec.envelope import Observation, Window, OBSERVATION_SCHEMA_VERSION
|
||||
from behave_core.spec.envelope import Observation, Window, OBSERVATION_SCHEMA_VERSION
|
||||
# or, equivalently, from this top-level re-export:
|
||||
from decnet_behave_core.spec import Observation, Window, OBSERVATION_SCHEMA_VERSION
|
||||
from behave_core.spec import Observation, Window, OBSERVATION_SCHEMA_VERSION
|
||||
|
||||
Both BEHAVE-SHELL and BEHAVE-TEXT depend on this package as their single source of
|
||||
truth for the wire-format envelope. JSON Schema artifacts in each sibling package
|
||||
@@ -3,7 +3,7 @@ requires = ["setuptools>=68", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "decnet-behave-core"
|
||||
name = "behave-core"
|
||||
version = "0.1.0"
|
||||
description = "BEHAVE shared observation envelope — schema contract used by BEHAVE-SHELL and BEHAVE-TEXT"
|
||||
requires-python = ">=3.11"
|
||||
@@ -18,7 +18,7 @@ dev = ["pytest>=8", "pytest-cov", "ruff"]
|
||||
"Source" = "https://git.resacachile.cl/anti/BEHAVE"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["decnet_behave_core*"]
|
||||
include = ["behave_core*"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
|
||||
@@ -13,7 +13,7 @@ from __future__ import annotations
|
||||
import pytest
|
||||
from pydantic import ValidationError
|
||||
|
||||
from decnet_behave_core.spec import OBSERVATION_SCHEMA_VERSION, Observation, Window
|
||||
from behave_core.spec import OBSERVATION_SCHEMA_VERSION, Observation, Window
|
||||
|
||||
|
||||
def _make(primitive: str = "motor.example", value="x", **kwargs) -> Observation:
|
||||
|
||||
Reference in New Issue
Block a user