[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"

[project]
name="knotctl"
description="A CLI for knotapi."
authors = [
  {name = "Micke Nordin", email = "hej@mic.ke"},
]
license= { file="LICENSE" }
readme= "README.md"
classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
        "Operating System :: OS Independent",
        ]
requires-python= ">=3.9"
version = "0.1.1"

dependencies = [
  "argcomplete==2.0.0",
  "pyyaml==6.0.1",
  "requests==2.27.1",
  "simplejson==3.17.6",
  "openstacksdk==4.2.0",
]

[project.urls]
Source="https://code.smolnet.org/micke/knotctl"
Documentation = "https://code.smolnet.org/micke/knotctl"

[project.scripts]
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",
]