From 1971eca3811828a15991224d0fbc6683afe03a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D1=82=D0=BE=D0=BD=20=D0=A2=D1=80=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Fri, 14 Aug 2026 16:02:44 +0300 Subject: [PATCH] pyproject: restrict package discovery to pysim_otaman_server Fix setuptools flat-layout error ('Multiple top-level packages discovered' for frontend/ node_modules/ pysim_otaman_server/) by explicit find.include. --- pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 38aeaa2..7b985c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,4 +12,7 @@ requires-python = ">=3.8" # bridge -> Twisted -> twisted-iocpsupport, which needs MSVC on Windows). [project.scripts] -pysim-otaman-server = "pysim_otaman_server.__main__:main" \ No newline at end of file +pysim-otaman-server = "pysim_otaman_server.__main__:main" + +[tool.setuptools.packages.find] +include = ["pysim_otaman_server*"] \ No newline at end of file