From 370c2a9e05d4f04037068094b72b2a146eaac52b Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Thu, 2 Nov 2023 21:26:40 -0600 Subject: [PATCH] Get a working entry-point done. It doesn't do anything, but we love water flowing through pipes. --- gongor/aegis.py | 3 +++ pyproject.toml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 gongor/aegis.py diff --git a/gongor/aegis.py b/gongor/aegis.py new file mode 100644 index 0000000..0ffae14 --- /dev/null +++ b/gongor/aegis.py @@ -0,0 +1,3 @@ +def generate(): + print("Generating...") + print("Done.") diff --git a/pyproject.toml b/pyproject.toml index b1a197d..9190ea9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,9 +6,12 @@ readme = "README.md" requires-python = ">=3.7" license = {file = "LICENSE.txt"} +[project.scripts] +aegis-generate = "gongor.aegis:generate" + [build-system] requires = ["setuptools >= 61.0.0"] build-backend = "setuptools.build_meta" [tool.setuptools.packages.find] -where = ["gongor"] +include = ["gongor"]