-
Notifications
You must be signed in to change notification settings - Fork 9
/
copier.yml
149 lines (130 loc) · 3.66 KB
/
copier.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# CONFIGURATION -------------------------
_min_copier_version: "9"
_envops:
autoescape: false
keep_trailing_newline: true
_subdirectory: project
_templates_suffix: .jinja
_jinja_extensions:
- copier_templates_extensions.TemplateExtensionLoader
- extensions.py:CurrentYearExtension
- extensions.py:GitExtension
- extensions.py:SlugifyExtension
- extensions.py:GitHubIDsforGiscusExtension
_skip_if_exists:
- CHANGELOG.md
- docs/insiders/changelog.md
# PROMPT --------------------------------
project_name:
type: str
help: Your project name
project_description:
type: str
help: Your project description
author_fullname:
type: str
help: Your full name
default: "{{ 'Timothée Mazzucotelli' | git_user_name }}"
author_email:
type: str
help: Your email
default: "{{ 'dev@pawamoy.fr' | git_user_email }}"
author_username:
type: str
help: Your username (e.g. on GitHub)
default: pawamoy
repository_provider:
type: str
help: Your repository provider
default: github.com
choices:
- github.com
repository_namespace:
type: str
help: Your repository namespace
default: "{{ author_username }}"
repository_name:
type: str
help: Your repository name
default: "{{ project_name | slugify }}"
copyright_holder:
type: str
help: The name of the person/entity holding the copyright
default: "{{ author_fullname }}"
copyright_holder_email:
type: str
help: The email of the person/entity holding the copyright
default: "{{ author_email }}"
copyright_date:
type: str
help: The copyright date
default: "{{ current_year }}"
copyright_license:
type: str
help: Your project's license
default: ISC License
choices:
- Academic Free License v3.0
- Apache License 2.0
- Artistic License 2.0
- BSD 2-Clause "Simplified" License
- BSD 3-Clause Clear License
- BSD 3-Clause "New" or "Revised" License
- Boost Software License 1.0
- Creative Commons Attribution 4.0
- Creative Commons Attribution Share Alike 4.0
- Creative Commons Zero v1.0 Universal
- Do What The F*ck You Want To Public License
- Educational Community License v2.0
- Eclipse Public License 1.0
- Eclipse Public License 2.0
- European Union Public License 1.1
- European Union Public License 1.2
- GNU Affero General Public License v3.0
- GNU General Public License v2.0
- GNU General Public License v3.0
- GNU Lesser General Public License v2.1
- GNU Lesser General Public License v3.0
- ISC License
- LaTeX Project Public License v1.3c
- MIT License
- Mozilla Public License 2.0
- Microsoft Public License
- Microsoft Reciprocal License
- University of Illinois/NCSA Open Source License
- SIL Open Font License 1.1
- Open Software License 3.0
- PostgreSQL License
- The Unlicense
- zlib License
python_package_distribution_name:
type: str
help: Your Python package distribution name (for `pip install NAME`)
default: "{{ project_name | slugify }}"
python_package_import_name:
type: str
help: Your Python package import name (for `import NAME` in Python code)
default: "{{ project_name | slugify('_') }}"
python_package_command_line_name:
type: str
help: Your CLI name if any (for use in the shell)
default: "{{ project_name | slugify }}"
insiders:
type: bool
help: Does this project have an Insiders version?
default: false
insiders_repository_name:
type: str
help: Your Insiders repository name
default: "{{ repository_name }}"
when: "{{ insiders }}"
insiders_email:
type: str
help: The email to use for Insiders-related questions
default: "{{ author_email }}"
when: "{{ insiders }}"
public_release:
type: bool
help: Is this project already released publicly?
default: false
when: "{{ insiders }}"