pyproject.toml fixes

This commit is contained in:
atse 2024-06-21 13:03:06 +08:00
parent 691269cbdc
commit 82fb0b0ec6
2 changed files with 5 additions and 6 deletions

View File

@ -14,8 +14,6 @@ license = {text = "GPLv3"}
tec_qt = "tec_qt:main" tec_qt = "tec_qt:main"
[tool.setuptools] [tool.setuptools]
packages.find = {} packages.find = {} # Use setuptools custom discovery, package directory structure isn't standard
py-modules = ["aioexample", "autotune", "example", "plot", "tec_qt", "ui_tec_qt", "waitingspinnerwidget"] package-data = {"*" = ["*.ico", "*.ui", "*.json"]}
py-modules = ["aioexample", "autotune", "example", "plot", "tec_qt"]
[tool.setuptools.package-data]
"*" = ["*.*"]

View File

@ -14,5 +14,6 @@ setup(
"tec_qt = tec_qt:main", "tec_qt = tec_qt:main",
] ]
}, },
py_modules=['tec_qt', 'ui_tec_qt', 'autotune', 'waitingspinnerwidget'], py_modules=['aioexample', 'autotune', 'example', 'plot', 'tec_qt'],
package_data={"*": ["*.ico", "*.ui", "*.json"]},
) )