Two bugs surfaced by the previous deploy attempt: 1. l4d2host/pyproject.toml still listed `l4d2host.fs` in the explicit packages= list. After deleting the fs/ package, pip install -e fails with "package directory './fs' does not exist". 2. The CPU-isolation deploy step uses `nproc` to detect host core count, but `nproc` honors Cpus_allowed of the calling shell. On a host that already has the cpuset drop-ins applied (system.slice/user.slice → AllowedCPUs=0), the SSH login lands constrained to one core and `nproc` returns 1 — making subsequent deploys think they're on a single-core box and skip the cpuset writes entirely. `nproc --all` reports installed processors regardless of affinity, which is what the deploy actually wants. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
23 lines
421 B
TOML
23 lines
421 B
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "l4d2host"
|
|
version = "0.1.0"
|
|
description = "L4D2 host library and CLI"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"typer>=0.12",
|
|
"PyYAML>=6.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
l4d2ctl = "l4d2host.cli:app"
|
|
|
|
[tool.setuptools]
|
|
packages = ["l4d2host"]
|
|
|
|
[tool.setuptools.package-dir]
|
|
l4d2host = "."
|