From 081d2fd617f088a48765efe124e60b3dc558b72a Mon Sep 17 00:00:00 2001 From: Aleix Quintana Alsius Date: Tue, 14 Jan 2025 14:10:41 +0100 Subject: [PATCH] Do not constrain on max python 3.12 and add scripts entry (#1) * Do not constrain on max python 3.12 * Add project.scripts entry to pyproject.toml to allow pipx install --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 13f2842..03bdc7e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,11 +12,14 @@ dependencies = [ "pillow~=11.0.0" ] optional-dependencies.full = ["python-barcode[images]~=0.15.1"] -requires-python = ">=3.10,<3.12" +requires-python = ">=3.10" [project.urls] "GitHub" = "https://github.com/ysfchn/dymo-bluetooth" +[project.scripts] +dymo_bluetooth = "dymo_bluetooth.__main__:main" + [tool.setuptools] packages = ["dymo_bluetooth"] @@ -39,4 +42,4 @@ reportDeprecated = "none" typeCheckingMode = "standard" reportOptionalMemberAccess = "warning" reportOptionalIterable = "none" -pythonPlatform = "All" \ No newline at end of file +pythonPlatform = "All"