From 910a27e6991e8e0281b232883a075574713f9dd7 Mon Sep 17 00:00:00 2001 From: Matthew Defenderfer <mdefende@uab.edu> Date: Sat, 5 Oct 2024 16:43:00 -0500 Subject: [PATCH] define entrypoint --- pak/__init__.py | 5 +++++ pyproject.toml | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pak/__init__.py b/pak/__init__.py index e69de29..80a3b13 100644 --- a/pak/__init__.py +++ b/pak/__init__.py @@ -0,0 +1,5 @@ +from .hello import hello + +def run(): + hello() + diff --git a/pyproject.toml b/pyproject.toml index ae71050..b54cae1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,4 +6,7 @@ build-backend = "setuptools.build_meta" 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 +authors = [{ name = "Your Name", email = "your.email@example.com" }] + +[project.scripts] +pak = "pak:run" -- GitLab