From 466f7691bad427233c93961d3f1474fde71a1fbd Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 14 Apr 2025 19:50:50 +0200 Subject: Pypi package --- MANIFEST.in | 1 + pyproject.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 MANIFEST.in create mode 100644 pyproject.toml diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..fc78b75 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include src/palhm/conf/* diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..2ea9080 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,40 @@ +[build-system] +requires = [ "hatchling" ] +build-backend = "hatchling.build" + +[project] +name = "palhm" +version = "0.0.3" +authors = [ + { name="David Timber", email="dxdt@dev.snart.me" }, +] +description = "PALHM" +readme = "README.md" +requires-python = ">= 3.9" +dependencies = [ "pyjson5" ] + +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", +] + +[project.optional-dependencies] +aws = [ "awscli", "boto3" ] + +[project.urls] +Homepage = "https://github.com/dxdxdt/PALHM/" +Issues = "https://github.com/dxdxdt/PALHM/issues" + +[tool.setuptools] +include-package-data = true + +[tool.setuptools.packages.find] +where = [ "src" ] + +[tool.setuptools.package-data] +sample-conf = [ + "conf/py-sample/conf.d/*", + "conf/py-sample/sample.jsonc", + "conf/crontab", + "conf/palhm-boot-report.service" ] -- cgit v1.2.3-70-g09d2