-
Notifications
You must be signed in to change notification settings - Fork 1
/
copier.yml
52 lines (44 loc) · 1.6 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
# This file is a modified version of `copier.yml` from
# https://github.com/pydev-guide/pyrepo-copier.
# Original copyright notice:
# BSD 3-Clause License
# Copyright (c) 2021, Talley Lambert
_subdirectory: project
_skip_if_exists:
- README.md
author_name:
help: Your full name (used in the project metadata)
default: Your Name
author_email:
help: Your email address (used in the project metadata)
default: first.last@example.com
validator: "{% if '@' not in author_email or '.' not in author_email %}Invalid Email{% endif %}"
project_name:
help: Name of your project (prefer hyphens to underscores)
default: my-project
validator: >-
{% if not (project_name | regex_search('^[a-zA-Z][a-zA-Z0-9\_\-]+$')) %}
project_name must start with a letter, followed one or more letters, digits, hyphens, or underscores all lowercase.
{% endif %}
package_name:
help: Name of your top-level Python package (the one appearing in Python `import` statements)
default: "{{ project_name.lower().replace(' ', '_').replace('-', '_') }}"
validator: "{% if not package_name.isidentifier() %}Invalid package name{% endif %}"
project_url:
help: A URL for your project home page or documentation (optional)
type: str
default: ''
project_short_description:
help: A short description of the package
default: Package description.
project_license:
when: "{{ mode == 'customize' }}"
help: What license would you like to use? (https://choosealicense.com/)
type: str
default: BSD-3-Clause
choices:
BSD-3-Clause: BSD-3-Clause
MIT: MIT
Apache-2.0: Apache-2.0
GNU GPLv3: GPL-3.0
none: none