-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcopier.yml
70 lines (64 loc) · 1.72 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
# Essential questions
package_name:
type: str
default: my_python_package
help: Enter the name of the Python package.
validator: >-
{% if not (package_name | regex_search('^[a-z][a-z0-9\_]+$')) %}
package_name must start with a letter, followed one or more letters, digits or underscores all lowercase.
{% endif %}
package_short_description:
type: str
default: Short description of package
# validator: >-
# {% if '"' in package_short_description %}
# package_short_description must not contain unescaped double quotes. Use \\" for double quotes.
# {% endif %}
keyword1:
type: str
default: keyword1
keyword2:
type: str
default: keyword2
version:
type: str
default: 0.1.0
github_organization:
type: str
default: "<my-github-organization>"
license:
type: str
choices:
- "Apache Software License 2.0"
- "MIT license"
- "BSD license"
- "ISC license"
- "GNU General Public License v3 or later"
- "GNU Lesser General Public License v3 or later"
- "Not open source"
default: "MIT license"
full_name:
type: str
default: Jane Smith
help: Enter your full name.
# validator: >-
# {% if '"' in full_name %}
# full_name must not contain unescaped double quotes. Use \\" for double quotes.
# {% endif %}
email:
type: str
default: yourname@esciencecenter.nl
copyright_holder:
type: str
default: Netherlands eScience Center
code_of_conduct_email:
type: str
default: "{{ email }}"
_subdirectory: template
repository:
default: git@github.com:{{ github_organization }}/{{ directory_name }}
when: false
repository_url:
default: https://github.com/{{ github_organization }}/{{ directory_name }}
when: false
# Optional questions