diff --git a/README.md b/README.md index ec4f333..12c38e7 100644 --- a/README.md +++ b/README.md @@ -241,6 +241,8 @@ ZathuraLanguageServer tree-sitter-zathurarc 🎤 What is your user name? wzy +🎤 What is your email? +32936898+Freed-Wu@users.noreply.github.com Copying from template version None create . diff --git a/copier.yml b/copier.yml index 3113317..800bd70 100644 --- a/copier.yml +++ b/copier.yml @@ -35,3 +35,7 @@ parser: user: type: str help: What is your user name? + +email: + type: str + help: What is your email? diff --git a/pyproject.toml b/pyproject.toml index c47756c..554f52f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ classifiers = [ dynamic = ["version", "dependencies", "optional-dependencies"] [[project.authors]] -name = "Wu Zhenyu" +name = "Wu, Zhenyu" email = "wuzhenyu@ustc.edu" [project.license] diff --git a/template/pyproject.toml b/template/pyproject.toml index 412498d..c5defc1 100644 --- a/template/pyproject.toml +++ b/template/pyproject.toml @@ -30,8 +30,8 @@ classifiers = [ dynamic = ["version", "dependencies", "optional-dependencies"] [[project.authors]] -name = "Wu Zhenyu" -email = "wuzhenyu@ustc.edu" +name = "{{ user }}" +email = "{{ email }}" [project.license] text = "GPL v3" diff --git a/template/src/{{ module }}/__main__.py b/template/src/{{ module }}/__main__.py index 2874a6d..0dd678a 100644 --- a/template/src/{{ module }}/__main__.py +++ b/template/src/{{ module }}/__main__.py @@ -16,10 +16,10 @@ NAME = NAME.replace("_", "-") VERSION = rf"""{NAME} {__version__} Copyright (C) {datetime.now().year} -Written by Wu Zhenyu +Written by {{ user }} """ EPILOG = """ -Report bugs to . +Report bugs to <{{ email }}>. """