Use MANIFEST.in

This commit is contained in:
atse 2024-06-21 17:20:35 +08:00
parent 60b81e7142
commit 814e714477
3 changed files with 4 additions and 2 deletions

4
pytec/MANIFEST.in Normal file
View File

@ -0,0 +1,4 @@
graft examples
include gui/resources/artiq.ico
include gui/view/param_tree.json
include gui/view/tec_qt.ui

View File

@ -15,5 +15,4 @@ tec_qt = "tec_qt:main"
[tool.setuptools]
packages.find = {} # Use setuptools custom discovery, package directory structure isn't standard
package-data = {"*" = ["*.ico", "*.ui", "*.json"]}
py-modules = ["autotune", "plot", "tec_qt"]

View File

@ -15,5 +15,4 @@ setup(
]
},
py_modules=['autotune', 'plot', 'tec_qt'],
package_data={"*": ["*.ico", "*.ui", "*.json"]},
)