Files
uconsole_asw_game/pyproject.toml
T
db9979andClaude Opus 5.5 4dd23bc242 Web client: CIC redesign with ES modules and bundled fonts
- Remote Crew browser client rebuilt as a dark combat-information-centre layout
  for large desktop monitors: slim status bar (stations, mission, clocks, UTC,
  link state), pulsing alert band, the instrument as centrepiece and
  collapsible docks (contacts, station, contact detail, log drawer; keys , . L).
  Four columns from 2400 px, fluid type up to 4K; guide, lookout and contact
  library open as overlays (Esc closes).
- app.js split into native ES modules under data/commander/js; the transport
  (net/*) no longer touches the DOM and talks to the views through synchronous
  topics (core/events.js, app/bindings.js); redraws share one frame scheduler.
- style.css replaced by a token-based design system in data/commander/css.
- Inter 4.1 and JetBrains Mono 2.304 bundled unmodified (OFL-1.1) with
  provenance in THIRD_PARTY_NOTICES.md; CSP allows font-src 'self'.
- Server serves the css/js/fonts trees from one asset manifest
  (src/commander/assets.py); packaging, capture tool, help, manual and docs
  updated; tests share tests/commander_web.py and import modules directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 12:02:01 +02:00

63 lines
1.8 KiB
TOML

[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "u-jagd"
dynamic = ["version"]
description = "U-Jagd - a frigate anti-submarine warfare game for the uConsole"
readme = "README.md"
license = "MIT"
license-files = ["LICENSE", "THIRD_PARTY_NOTICES.md", "data/commander/fonts/ofl-*.txt"]
authors = [
{name = "Dominik Bornhäußer"},
]
requires-python = ">=3.11"
dependencies = ["pygame>=2.6", "numpy>=2.0", "websockets>=12"]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Natural Language :: German",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Games/Entertainment :: Simulation",
]
[project.urls]
Homepage = "https://github.com/db9979/uconsole_asw_game"
Repository = "https://github.com/db9979/uconsole_asw_game"
Issues = "https://github.com/db9979/uconsole_asw_game/issues"
[project.optional-dependencies]
dev = ["build>=1", "pytest>=8"]
[project.scripts]
u-jagd = "main:main"
[tool.setuptools]
py-modules = ["main"]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["src*", "data*"]
namespaces = true
[tool.setuptools.package-data]
"data.contacts" = ["*.json"] # Built-in contact catalog resources.
"data.loadouts" = ["*.json"] # Fictional ownship mission loadouts.
"data.coastlines" = ["*.json", "*.json.gz"]
"data.editor_templates" = ["*.json"]
"data.i18n" = ["*.json"]
"data.commander" = ["*.html", "*.js", "*.css", "css/*.css", "js/**/*.js",
"fonts/*.woff2", "fonts/*.txt"]
"data.manual" = ["*.md"]
"data.contact_analysis" = ["manifest.json", "*.png"]
[tool.setuptools.dynamic]
version = {attr = "src.core.version.APP_VERSION"}
[tool.pytest.ini_options]
testpaths = ["tests"]