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.
This commit is contained in:
@@ -13,3 +13,6 @@ requires-python = ">=3.8"
|
|||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
pysim-otaman-server = "pysim_otaman_server.__main__:main"
|
pysim-otaman-server = "pysim_otaman_server.__main__:main"
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
include = ["pysim_otaman_server*"]
|
||||||
Reference in New Issue
Block a user