From 28bf4a4ac17a8034e6683b321ac14673f3951b8d Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 30 Jan 2025 11:29:25 +0100 Subject: [PATCH] Try to support briefcase --- CHANGELOG | 0 pyproject.toml | 24 +++++++++++++++++++ {knotctl => src/knotctl}/__init__.py | 0 {knotctl => src/knotctl}/config/__init__.py | 0 .../knotctl}/openstack/__init__.py | 0 {knotctl => src/knotctl}/runners/__init__.py | 0 {knotctl => src/knotctl}/utils/__init__.py | 0 7 files changed, 24 insertions(+) create mode 100644 CHANGELOG rename {knotctl => src/knotctl}/__init__.py (100%) rename {knotctl => src/knotctl}/config/__init__.py (100%) rename {knotctl => src/knotctl}/openstack/__init__.py (100%) rename {knotctl => src/knotctl}/runners/__init__.py (100%) rename {knotctl => src/knotctl}/utils/__init__.py (100%) diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml index f323cbb..2aeec13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,3 +36,27 @@ knotctl="knotctl:main" [tool.flit.sdist] include = ["LICENSE", "README.md"] + +[tool.briefcase] +project_name = "knotctl" +bundle = "org.smolnet" +version = "0.1.1" + +[tool.briefcase.app.knotctl] +formal_name = "knotctl" +description = "A CLI for knotapi." +long_description = "A CLI for knotapi." +sources = ['src/knotctl'] +console_app = "True" +requires = [ + "argcomplete==2.0.0", + "pyyaml==6.0.1", + "requests==2.27.1", + "simplejson==3.17.6", + "openstacksdk==4.2.0", +] + +[tool.briefcase.app.knotctl.linux.system.debian] +system_runtime_requires = [ + "libpython3.13", +] diff --git a/knotctl/__init__.py b/src/knotctl/__init__.py similarity index 100% rename from knotctl/__init__.py rename to src/knotctl/__init__.py diff --git a/knotctl/config/__init__.py b/src/knotctl/config/__init__.py similarity index 100% rename from knotctl/config/__init__.py rename to src/knotctl/config/__init__.py diff --git a/knotctl/openstack/__init__.py b/src/knotctl/openstack/__init__.py similarity index 100% rename from knotctl/openstack/__init__.py rename to src/knotctl/openstack/__init__.py diff --git a/knotctl/runners/__init__.py b/src/knotctl/runners/__init__.py similarity index 100% rename from knotctl/runners/__init__.py rename to src/knotctl/runners/__init__.py diff --git a/knotctl/utils/__init__.py b/src/knotctl/utils/__init__.py similarity index 100% rename from knotctl/utils/__init__.py rename to src/knotctl/utils/__init__.py