From 82423b318a2c8fd141e3857d44117c80daa5993d Mon Sep 17 00:00:00 2001 From: nicmostert Date: Mon, 14 Oct 2024 14:57:56 +1300 Subject: [PATCH] Added the logo as a data file so that it's included in the binaries --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9fc7273..66d329a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] requires-python = ">= 3.10.11" name = "samplerqrgenerator" -version = "v0.1.1" +version = "v0.1.2" dependencies = [ "qrcode", "Pillow", @@ -13,3 +13,9 @@ dependencies = [ [project.entry-points.'hilltop.preregistration'] "QRGenerator" = 'samplerqrgenerator:QRGenerator' + +[tool.setuptools.packages.find] +where = ["src"] + +[tool.setuptools.package-data] +samplerqrgenerator = ["*.png"]