pyside6-project.exe build can not parse source file list in pyproject.toml correctly on Windows
-
The source file list of project in pyporject.toml can not be devided into lines.
If the source file list a in one line it work fine.
[tool.pyside6-project]
files = ["main.py","database/db_manager.py","i18n/pos_en.ts"]But if I split the file list into multiple lines . It would fail.
[tool.pyside6-project]
files = [
"main.py",
"database/db_manager.py",
"i18n/pos_en.ts"
]
when is run pyside6-project build in terminal or build in QCreator it fail with
" No project file found in the current directory. " -
What Python version are you using? Starting from 3.11, tomllib is used which should be able to handle it. For older versions, a manual parser is used, which may fail.