Compare commits

...
Author SHA1 Message Date
Will Lin 91bf3f2752 [bugfix] restrict setuptools package discovery to fastvideo/dreamverse
Namespace-package auto-discovery (the default for packages.find in
pyproject.toml) treats any directory as a package, so local artifact
dirs like outputs/ at the repo root get picked up as packages. Combined
with the second search root apps/dreamverse (whose empty outputs/ dir
maps the 'outputs' package there), the editable build fails with:

    error: package directory 'apps/dreamverse/outputs/ltx2_overfit' does not exist

Switch to an explicit include list so only the two real packages are
discovered, making the build immune to whatever run artifacts happen to
sit in the working tree. This also stops fastvideo-kernel/ (separate
build) and comfyui/docs/etc. from being swept into the wheel.
2026-08-09 22:44:35 +00:00
+2 -1
View File
@@ -208,7 +208,8 @@ dreamverse-mock-server = "dreamverse.mock_server:cli"
[tool.setuptools.packages.find]
where = [".", "apps/dreamverse"]
exclude = ["assets*", "docker*", "docs", "scripts*", "apps*", "dreamverse.tests*"]
include = ["fastvideo", "fastvideo.*", "dreamverse", "dreamverse.*"]
exclude = ["dreamverse.tests*"]
[tool.setuptools.package-data]
dreamverse = ["prompts/*.md"]