forked from pdm-project/copier-pdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
copier.yml
122 lines (104 loc) · 2.45 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
# CONFIGURATION -------------------------
_subdirectory: project
_templates_suffix: .jinja
_skip_if_exists:
- CHANGELOG.md
_tasks:
- pdm config --local python.use_venv False
# PROMPT --------------------------------
project_name:
type: str
help: Your project name
project_description:
type: str
default: "TODO: Description of {{ project_name }}"
help: Your project description
project_type:
help: "Project type"
type: "str"
choices:
- "bin"
- "lib"
default: "bin"
author_fullname:
type: str
default: Horst Duchene
help: Your full name
author_email:
type: str
default: [email protected]
help: Your email
author_username:
type: str
default: monora
help: Your username (e.g. on GitHub)
repository_namespace:
type: str
help: Your repository namespace
default: "{{ author_username }}"
repository_name:
type: str
help: Your repository name
default: "{{ project_name|lower|replace('_', '-')|replace(' ', '-') }}"
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: "2023"
copyright_license:
type: str
help: Your project's license
default: MIT
choices:
- AFL-3.0
- Apache-2.0
- Artistic-2.0
- BSD-2-Clause
- BSD-3-Clause
- BSL-1.0
- EPL-1.0
- EPL-2.0
- EUPL-1.0
- EUPL-2.0
- AGPL-3.0
- GPL-2.0
- GPL-3.0
- LGPL-2.0-or-later
- LGPL-3.0
- ISC
- MIT
- MPL-2.0
- NCSA
- OFL-1.1
- OSL-3.0
- PostgreSQL
- Unlicense
- Zlib
python_package_distribution_name:
type: str
help: Your Python package distribution name (for `pip install NAME`)
default: "{{ project_name|lower|replace('_', '-')|replace(' ', '-') }}"
python_package_import_name:
type: str
help: Your Python package import name (for `import NAME` in Python code)
default: "{{ project_name|lower|replace('-', '_')|replace(' ', '_') }}"
python_package_app_name:
type: str
help: Your Python application name (see cli.py)
when: "{{ project_type == 'bin' }}"
default: "{{ python_package_distribution_name }}"
python_package_requires_python:
type: str
help: The python version range your project supports
default: ">=3.9"
build_doc:
type: bool
help: Do you want to include a doc site?
default: no