From 814e71447751b24303a94a2ef204d8f1e9bb7e66 Mon Sep 17 00:00:00 2001 From: atse Date: Fri, 21 Jun 2024 17:20:35 +0800 Subject: [PATCH] Use MANIFEST.in --- pytec/MANIFEST.in | 4 ++++ pytec/pyproject.toml | 1 - pytec/setup.py | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 pytec/MANIFEST.in diff --git a/pytec/MANIFEST.in b/pytec/MANIFEST.in new file mode 100644 index 0000000..1108827 --- /dev/null +++ b/pytec/MANIFEST.in @@ -0,0 +1,4 @@ +graft examples +include gui/resources/artiq.ico +include gui/view/param_tree.json +include gui/view/tec_qt.ui \ No newline at end of file diff --git a/pytec/pyproject.toml b/pytec/pyproject.toml index 5faabf5..eff699b 100644 --- a/pytec/pyproject.toml +++ b/pytec/pyproject.toml @@ -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"] diff --git a/pytec/setup.py b/pytec/setup.py index 9cb56e3..7e3828f 100644 --- a/pytec/setup.py +++ b/pytec/setup.py @@ -15,5 +15,4 @@ setup( ] }, py_modules=['autotune', 'plot', 'tec_qt'], - package_data={"*": ["*.ico", "*.ui", "*.json"]}, )