From 9ac1ecf7b0fad995d8e04d327bb80b792873201e Mon Sep 17 00:00:00 2001 From: Lukas Burgholzer Date: Sun, 1 Dec 2024 17:53:40 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20static=20files=20not=20bei?= =?UTF-8?q?ng=20installed=20with=20frontend=20(#435)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR fixes an issue where the static files for the MQT Bench frontend would not be installed with the frontend. This would prevent the server from properly starting. Signed-off-by: burgholzer --- frontend/pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/pyproject.toml b/frontend/pyproject.toml index ffa9edd4d..5da243bda 100644 --- a/frontend/pyproject.toml +++ b/frontend/pyproject.toml @@ -18,6 +18,11 @@ dependencies = [ [project.scripts] "mqt.bench.viewer" = "mqt.bench.viewer.main:start_server" + +[tool.setuptools.package-data] +"mqt.bench.viewer" = ["static/**/*", "templates/*"] + + [tool.pytest.ini_options] minversion = "7.2" testpaths = ["tests"]