From b30af739960631dc28d85db0261bd430f0f147aa Mon Sep 17 00:00:00 2001
From: mdefende <mdefende@uab.edu>
Date: Mon, 11 Nov 2024 16:09:10 -0600
Subject: [PATCH] change pyproject to build using poetry instead of setuptools.
 added command line entrypoint as well so we can easily set an entrypoint in
 the Docker container

---
 pyproject.toml | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index ae71050..ce65254 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,9 +1,20 @@
-[build-system]
-requires = ["setuptools", "wheel"]
-build-backend = "setuptools.build_meta"
-
-[project]
+[tool.poetry]
 name = "pak"
 version = "0.1.0"
-description = "A simple Python package."
-authors = [{ name = "Your Name", email = "your.email@example.com" }]
\ No newline at end of file
+description = "A sample Python package"
+authors = ["Matthew Defenderfer <mdefende@uab.edu>"]
+license = "MIT"
+
+[tool.poetry.dependencies]
+python = "^3.12"
+# Add your other dependencies here
+
+[tool.poetry.dev-dependencies]
+pytest = "^7.0"
+
+[tool.poetry.scripts]
+hello = "pak:main"
+
+[build-system]
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"
-- 
GitLab