Skip to content

Commit 1b8fd67

Browse files
author
Forgemaster
committed
fix: restructure sonar-vision-physics package for wheel compatibility
Moved from flat layout to standard sonar_vision_physics/ subdirectory. Now ships all files in wheel (was only dist-info). v1.2.0 published to PyPI. Added: SonarRayTracer for geometric acoustic ray tracing.
1 parent cfa919f commit 1b8fd67

7 files changed

Lines changed: 12 additions & 10 deletions

File tree

packages/sonar-vision-physics/__init__.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/sonar-vision-physics/pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "sonar-vision-physics"
7-
version = "1.0.1"
8-
description = "Real-time underwater sonar physics engine with WebSocket streaming"
7+
version = "1.2.0"
8+
description = "Real-time underwater sonar physics engine with ray tracing"
99
readme = "README.md"
1010
license = {text = "MIT"}
1111
requires-python = ">=3.9"
12-
keywords = ["sonar", "underwater", "physics", "flux", "marine", "acoustics"]
12+
keywords = ["sonar", "underwater", "physics", "flux", "marine", "acoustics", "ray-tracing"]
1313
authors = [
1414
{name = "SuperInstance", email = "forgemaster@superinstance.ai"}
1515
]
@@ -23,4 +23,5 @@ Documentation = "https://github.com/SuperInstance/sonar-vision/docs"
2323
sonar-ping = "sonar_vision_physics.cli:main"
2424

2525
[tool.setuptools.packages.find]
26-
include = ["sonar_vision_physics*"]
26+
where = ["."]
27+
include = ["sonar_vision_physics", "sonar_vision_physics.*"]
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""SonarVision Physics — deterministic underwater sonar physics engine."""
2+
3+
from .physics import compute_physics, dive_profile, FluxPhysics, WATER_TYPES, SEDIMENT_NAMES
4+
from .ray_tracer import SonarRayTracer
5+
6+
__version__ = "1.2.0"
7+
__all__ = ["compute_physics", "dive_profile", "FluxPhysics", "SonarRayTracer", "WATER_TYPES", "SEDIMENT_NAMES"]

packages/sonar-vision-physics/cli.py renamed to packages/sonar-vision-physics/sonar_vision_physics/cli.py

File renamed without changes.

packages/sonar-vision-physics/physics.py renamed to packages/sonar-vision-physics/sonar_vision_physics/physics.py

File renamed without changes.

packages/sonar-vision-physics/ray_tracer.py renamed to packages/sonar-vision-physics/sonar_vision_physics/ray_tracer.py

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)