-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcopier.yml
More file actions
144 lines (127 loc) · 3.94 KB
/
copier.yml
File metadata and controls
144 lines (127 loc) · 3.94 KB
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
# CONFIGURATION -------------------------
_min_copier_version: "9"
_envops:
autoescape: false
keep_trailing_newline: true
_subdirectory: project
_templates_suffix: .jinja
_preserve_symlinks: true
_jinja_extensions:
- copier_template_extensions.TemplateExtensionLoader
- extensions.py:CurrentYearExtension
- extensions.py:GitExtension
- extensions.py:SlugifyExtension
- extensions.py:GitHubIDsforGiscusExtension
_skip_if_exists:
- CHANGELOG.md
_tasks:
- "echo 'Initializing git repository...'"
- "git init ."
- "echo 'Installing dependencies...'"
- "uv sync"
- "echo 'Installing pre-commit hooks...'"
- "uvx pre-commit install"
- "echo ''"
- "echo 'Project successfully generated!'"
- "echo 'Run `uvx --from taskipy task --list` to show the available tasks.'"
# 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
author_email:
type: str
help: Your email
default: "{{ '' | git_user_email }}"
author_username:
type: str
help: Your username (e.g. on GitHub)
default: "{{ '' | git_user_name }}"
repository_provider:
type: str
help: Your repository provider (defaults to github.com)
default: github.com
when: false
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 (your name or company/organization name)
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: MIT
choices:
Academic Free License v3.0: AFL-3.0
Apache License 2.0: Apache-2.0
Artistic License 2.0: Artistic-2.0
BSD 2-Clause "Simplified" License: BSD-2-Clause
BSD 3-Clause Clear License: BSD-3-Clause-Clear
BSD 3-Clause "New" or "Revised" License: BSD-3-Clause
Boost Software License 1.0: BSL-1.0
Creative Commons Attribution 4.0 International: CC-BY-4.0
Creative Commons Attribution Share Alike 4.0 International: CC-BY-SA-4.0
Creative Commons Zero v1.0 Universal: CC0-1.0
Do What The F*ck You Want To Public License: WTFPL
Educational Community License v2.0: ECL-2.0
Eclipse Public License 1.0: EPL-1.0
Eclipse Public License 2.0: EPL-2.0
European Union Public License 1.1: EUPL-1.1
European Union Public License 1.2: EUPL-1.2
GNU Affero General Public License v3.0: AGPL-3.0
GNU General Public License v2.0 only: GPL-2.0
GNU General Public License v3.0 only: GPL-3.0
GNU Lesser General Public License v2.1 only: LGPL-2.1
GNU Lesser General Public License v3.0 only: LGPL-3.0
ISC License: ISC
LaTeX Project Public License v1.3c: LPPL-1.3c
MIT License: MIT
Mozilla Public License 2.0: MPL-2.0
Microsoft Public License: MS-PL
Microsoft Reciprocal License: MS-RL
University of Illinois/NCSA Open Source License: NCSA
SIL Open Font License 1.1: OFL-1.1
Open Software License 3.0: OSL-3.0
PostgreSQL License: PostgreSQL
The Unlicense: Unlicense
zlib License: Zlib
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_version:
type: str
help: Python version for your project
default: "3.13"
choices:
- "3.12"
- "3.13"
- "3.14"
include_notebooks:
type: bool
help: Include marimo notebooks support for data science workflows
default: true