From ddd0e697cc1a1c200553aac1bc34241dbf8be548 Mon Sep 17 00:00:00 2001 From: Daniil Fajnberg Date: Tue, 11 Jan 2022 15:55:20 +0100 Subject: [PATCH] trying gitea template with variable expansion --- .gitea/template | 2 ++ README.md | 9 +++++---- setup.cfg | 10 +++++----- 3 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 .gitea/template diff --git a/.gitea/template b/.gitea/template new file mode 100644 index 0000000..426475e --- /dev/null +++ b/.gitea/template @@ -0,0 +1,2 @@ +README.md +setup.cfg diff --git a/README.md b/README.md index 8bc8ee0..32ec030 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@ -# [Project Title] +# ${REPO_NAME} -[Short description] +${REPO_DESCRIPTION} ## Usage + ... ## Installation -`pip install ...` +`pip install ${REPO_NAME}` ## Dependencies @@ -15,4 +16,4 @@ Python Version ..., OS ... ## Building from source -`python -m build ...` +Run `python -m build` diff --git a/setup.cfg b/setup.cfg index 02d70d0..76fbe7f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,14 +1,14 @@ [metadata] -name = ... +name = ${REPO_NAME} version = 0.0.1 -author = Daniil F. +author = ${REPO_OWNER_TITLE} author_email = mail@placeholder123.to -description = ... +description = ${REPO_DESCRIPTION} long_description = file: README.md long_description_content_type = text/markdown -url = https://git.fajnberg.de/daniil/... +url = ${REPO_LINK} project_urls = - Bug Tracker = https://git.fajnberg.de/daniil/.../issues + Bug Tracker = ${REPO_LINK}/issues classifiers = Programming Language :: Python :: 3 Operating System :: OS Independent