From 752b4039002f74c35e49de9ce3787dd5c08702c6 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Fri, 7 Jun 2024 12:22:34 +0200 Subject: [PATCH] fix: issues --- $REPO_DESCRIPTION_SNAKE/__about__.py | 2 -- $REPO_NAME_SNAKE/__about__.py | 2 ++ {$REPO_DESCRIPTION_SNAKE => $REPO_NAME_SNAKE}/__init__.py | 0 {$REPO_DESCRIPTION_SNAKE => $REPO_NAME_SNAKE}/__main__.py | 0 pyproject.toml | 8 ++++---- 5 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 $REPO_DESCRIPTION_SNAKE/__about__.py create mode 100644 $REPO_NAME_SNAKE/__about__.py rename {$REPO_DESCRIPTION_SNAKE => $REPO_NAME_SNAKE}/__init__.py (100%) rename {$REPO_DESCRIPTION_SNAKE => $REPO_NAME_SNAKE}/__main__.py (100%) diff --git a/$REPO_DESCRIPTION_SNAKE/__about__.py b/$REPO_DESCRIPTION_SNAKE/__about__.py deleted file mode 100644 index e77d054..0000000 --- a/$REPO_DESCRIPTION_SNAKE/__about__.py +++ /dev/null @@ -1,2 +0,0 @@ -__version__ = "0.0.0" -__name__ = "$REPO_DESCRIPTION_SNAKE" \ No newline at end of file diff --git a/$REPO_NAME_SNAKE/__about__.py b/$REPO_NAME_SNAKE/__about__.py new file mode 100644 index 0000000..d4b6dbc --- /dev/null +++ b/$REPO_NAME_SNAKE/__about__.py @@ -0,0 +1,2 @@ +__version__ = "0.0.0" +__name__ = "$REPO_NAME_SNAKE" \ No newline at end of file diff --git a/$REPO_DESCRIPTION_SNAKE/__init__.py b/$REPO_NAME_SNAKE/__init__.py similarity index 100% rename from $REPO_DESCRIPTION_SNAKE/__init__.py rename to $REPO_NAME_SNAKE/__init__.py diff --git a/$REPO_DESCRIPTION_SNAKE/__main__.py b/$REPO_NAME_SNAKE/__main__.py similarity index 100% rename from $REPO_DESCRIPTION_SNAKE/__main__.py rename to $REPO_NAME_SNAKE/__main__.py diff --git a/pyproject.toml b/pyproject.toml index 8103fb2..467aece 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ ] [project.scripts] -$REPO_DESCRIPTION_KEBAB = "$REPO_DESCRIPTION_SNAKE.__main__:cli" +$REPO_NAME_KEBAB = "$REPO_NAME_SNAKE.__main__:cli" [build-system] requires = ["hatchling", "hatch-requirements-txt"] @@ -23,13 +23,13 @@ build-backend = "hatchling.build" directory = "dist" [tool.hatch.build.targets.sdist] -include = ["$REPO_DESCRIPTION_SNAKE/*.py"] +include = ["$REPO_NAME_SNAKE/*.py"] [tool.hatch.build.targets.wheel] -packages = ["$REPO_DESCRIPTION_SNAKE"] +packages = ["$REPO_NAME_SNAKE"] [tool.hatch.metadata] allow-direct-references = true [tool.hatch.version] -path = "$REPO_DESCRIPTION_SNAKE/__about__.py" +path = "$REPO_NAME_SNAKE/__about__.py"