@@ -3,42 +3,58 @@ _envops:
3
3
block_start_string : ' [%'
4
4
_subdirectory : template
5
5
_message_before_copy : |
6
- Thanks for generating a project using our template.
6
+ Thanks for generating a project using our template.
7
7
8
- You'll be asked a series of questions whose answers will be used to
9
- generate a tailored project for you.
8
+ You'll be asked a series of questions whose answers will be used to
9
+ generate a tailored project for you.
10
10
_message_after_copy : |
11
- Your project "{{ project_name }}" has been created successfully!
11
+ Your project "{{ project_name }}" has been created successfully!
12
12
_message_before_update : |
13
- Thanks for updating your project using our template.
13
+ Thanks for updating your project using our template.
14
14
15
- You'll be asked a series of questions whose answers are pre-populated
16
- with previously entered values. Feel free to change them as needed.
15
+ You'll be asked a series of questions whose answers are pre-populated
16
+ with previously entered values. Feel free to change them as needed.
17
17
_message_after_update : |
18
- Your project "{{ project_name }}" has been updated successfully!
19
- In case there are any conflicts, please resolve them. Then,
20
- you're done.
21
-
18
+ Your project "{{ project_name }}" has been updated successfully!
19
+ In case there are any conflicts, please resolve them. Then,
20
+ you're done.
22
21
project_name :
23
22
default : Serious Scaffold Python
24
23
help : ' Enter the name of the project in CamelCase format:'
25
24
type : str
26
-
27
25
project_description :
28
26
default : A development-focused Python project template with various integrations, configurations and modules.
29
27
help : ' Provide a brief description for the project:'
30
28
type : str
31
-
29
+ copyright_license :
30
+ default : MIT License
31
+ choices :
32
+ - Apache Software License
33
+ - Boost Software License 1.0 (BSL-1.0)
34
+ - GNU Affero General Public License v3
35
+ - GNU General Public License v3 (GPLv3)
36
+ - GNU Lesser General Public License v3 (LGPLv3)
37
+ - MIT License
38
+ - Mozilla Public License 2.0 (MPL 2.0)
39
+ - The Unlicense (Unlicense)
40
+ help : Choose the project's license (e.g. "MIT", "GPL-3.0").
41
+ type : str
42
+ copyright_year :
43
+ default : 2022-{{ "%Y" | strftime }}
44
+ help : Enter the copyright year or range (e.g. "2022-2023").
45
+ type : str
32
46
author_name :
33
47
default : huxuan
34
48
help : ' Specify the name of the author:'
35
49
type : str
36
-
37
50
organization_name :
38
51
default : Serious Scaffold
39
52
help : ' Provide the name of the organization associated with the project:'
40
53
type : str
41
-
54
+ copyright_holder :
55
+ default : ' {{ organization_name }}'
56
+ help : Name(s) or organization(s) holding the copyright.
57
+ type : str
42
58
author_email :
43
59
default : |-
44
60
[% if author_name == 'huxuan' and organization_name == 'Serious Scaffold' -%]
@@ -48,7 +64,6 @@ author_email:
48
64
[%- endif %]
49
65
help : ' Specify the email address of the author:'
50
66
type : str
51
-
52
67
repo_host_type :
53
68
default : github.com
54
69
choices :
@@ -57,13 +72,11 @@ repo_host_type:
57
72
GitLab (self-managed) : gitlab-self-managed
58
73
help : ' Choose the host for the repository:'
59
74
type : str
60
-
61
75
repo_host :
62
76
default : ' {{ repo_host_type }}'
63
77
help : ' Specify the host of the self-managed GitLab:'
64
78
type : str
65
79
when : ' {{ repo_host_type == "gitlab-self-managed" }}'
66
-
67
80
page_host :
68
81
default : |-
69
82
[% if repo_host_type == 'github.com' -%]
@@ -74,27 +87,22 @@ page_host:
74
87
help : ' Specify the host of the self-managed GitLab Pages:'
75
88
type : str
76
89
when : ' {{ repo_host_type == "gitlab-self-managed" }}'
77
-
78
90
repo_namespace :
79
91
default : ' {{ organization_name|lower|replace(" ", "-") }}'
80
92
help : ' Indicate the GitHub Repository Owner or GitLab Namespace. This is typically the account name of the author or the organization:'
81
93
type : str
82
-
83
94
repo_name :
84
95
default : ' {{ project_name|lower|replace(" ", "-") }}'
85
96
help : ' Provide a name for the repository:'
86
97
type : str
87
-
88
98
package_name :
89
99
default : ' {{ repo_name|regex_replace("-python$", "") }}'
90
100
help : ' Specify the name of the distributable package for the project (often used in "pip install <package_name>"):'
91
101
type : str
92
-
93
102
module_name :
94
103
default : ' {{ package_name|lower|replace("-", "_") }}'
95
104
help : ' Specify the name of the primary module within the package (often used in "import <module_name>"):'
96
105
type : str
97
-
98
106
coverage_threshold :
99
107
default : 100
100
108
help : ' Set the threshold for test coverage, ranging from 0 to 100:'
@@ -109,7 +117,6 @@ min_py:
109
117
- ' 3.11'
110
118
help : ' Choose the minimal Python version the project should support:'
111
119
type : str
112
-
113
120
max_py :
114
121
default : ' 3.11'
115
122
choices :
@@ -126,7 +133,6 @@ max_py:
126
133
value : ' 3.11'
127
134
help : ' Choose the maximal Python version the project should support:'
128
135
type : str
129
-
130
136
default_py :
131
137
default : ' {{ max_py }}'
132
138
choices :
@@ -144,27 +150,3 @@ default_py:
144
150
value : ' 3.11'
145
151
help : ' Choose the default Python version for development, documentation generation, and package build:'
146
152
type : str
147
-
148
- copyright_license :
149
- type : str
150
- help : Choose the project's license (e.g. "MIT", "GPL-3.0").
151
- default : MIT License
152
- choices :
153
- - Apache Software License
154
- - Boost Software License 1.0 (BSL-1.0)
155
- - GNU Affero General Public License v3
156
- - GNU General Public License v3 (GPLv3)
157
- - GNU Lesser General Public License v3 (LGPLv3)
158
- - MIT License
159
- - Mozilla Public License 2.0 (MPL 2.0)
160
- - The Unlicense (Unlicense)
161
-
162
- copyright_year :
163
- type : str
164
- help : Enter the copyright year or range (e.g. "2022-2023").
165
- default : ' 2022-{{ "%Y" | strftime }}'
166
-
167
- copyright_holder :
168
- type : str
169
- help : Name(s) or organization(s) holding the copyright.
170
- default : ' {{ organization_name }}'
0 commit comments