-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcopier.yml
More file actions
89 lines (78 loc) · 1.85 KB
/
copier.yml
File metadata and controls
89 lines (78 loc) · 1.85 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
# Template configuration
_min_copier_version: "9.0.0"
_exclude:
- /.git
- /.github
- /.gitignore
- /copier.yml
- /README.md
# Questions
python_package_name:
type: str
help: What is your Python package name?
validator: >-
{% if not (python_package_name | regex_search("^[a-zA-Z][a-zA-Z0-9_]*$")) %}
Python package name must be a valid Python identifier
{% endif %}
package_name:
type: str
help: What is your pyproject package name?
default: "{{ python_package_name.replace('_', '-') }}"
validator: >-
{% if not (package_name | regex_search("^[a-zA-Z][a-zA-Z0-9_.-]*[a-zA-Z0-9]$")) %}
Package name must be a valid pyproject package name (https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#name)
{% endif %}
pypi_package_name:
type: str
help: What is your PyPI package name?
default: "{{package_name}}"
validator: >-
{% if not (pypi_package_name | regex_search("^[a-zA-Z][a-zA-Z0-9_.-]*[a-zA-Z0-9]$")) %}
PyPI package name must be a valid pyproject package name
{% endif %}
package_description:
type: str
help: Brief description of your package
default: This is the Python package {{ package_name }}.
author_name:
type: str
help: Your name
author_email:
type: str
help: Your email address
github_username:
type: str
help: Your GitHub username
python_min_version:
type: str
help: Minimum Python version
default: "3.13"
choices:
- "3.13"
- "3.12"
- "3.10"
- "3.9"
- "3.8"
upload_repository:
type: str
help: Upload repository
default: "codeartifact"
choices:
- "codeartifact"
- "pypi"
package_license:
type: str
help: License
default: "BSD-3-Clause"
choices:
- "Proprietary"
- "BSD-3-Clause"
- "Apache-2.0"
- "MIT"
ci:
type: str
help: The CI/CD platform
default: "none"
choices:
- "github"
- "none"