Address code review feedback

- Made package-data configuration more specific to langbot package only
- Improved path detection with caching to avoid repeated file I/O
- Removed sys.path searching which was incorrect for package data
- Removed interactive input() call for non-interactive environment compatibility
- Simplified error messages for version check

Co-authored-by: RockChinQ <45992437+RockChinQ@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-07 14:04:47 +00:00
parent c0eec966ac
commit 4e86e1c93d
3 changed files with 46 additions and 28 deletions

View File

@@ -112,7 +112,7 @@ packages = { find = {} }
include-package-data = true
[tool.setuptools.package-data]
"*" = [
langbot = [
"web/out/**/*",
"templates/**/*",
"res/**/*",