trying gitea template with variable expansion

This commit is contained in:
Daniil Fajnberg 2022-01-11 15:55:20 +01:00
parent 0d3114d027
commit ddd0e697cc
3 changed files with 12 additions and 9 deletions

2
.gitea/template Normal file
View File

@ -0,0 +1,2 @@
README.md
setup.cfg

View File

@ -1,13 +1,14 @@
# [Project Title] # ${REPO_NAME}
[Short description] ${REPO_DESCRIPTION}
## Usage ## Usage
... ...
## Installation ## Installation
`pip install ...` `pip install ${REPO_NAME}`
## Dependencies ## Dependencies
@ -15,4 +16,4 @@ Python Version ..., OS ...
## Building from source ## Building from source
`python -m build ...` Run `python -m build`

View File

@ -1,14 +1,14 @@
[metadata] [metadata]
name = ... name = ${REPO_NAME}
version = 0.0.1 version = 0.0.1
author = Daniil F. author = ${REPO_OWNER_TITLE}
author_email = mail@placeholder123.to author_email = mail@placeholder123.to
description = ... description = ${REPO_DESCRIPTION}
long_description = file: README.md long_description = file: README.md
long_description_content_type = text/markdown long_description_content_type = text/markdown
url = https://git.fajnberg.de/daniil/... url = ${REPO_LINK}
project_urls = project_urls =
Bug Tracker = https://git.fajnberg.de/daniil/.../issues Bug Tracker = ${REPO_LINK}/issues
classifiers = classifiers =
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Operating System :: OS Independent Operating System :: OS Independent