-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcopier.yaml
104 lines (89 loc) · 2.04 KB
/
copier.yaml
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
# [[[cog
# from tools.cog_cc import CC
#
# cc = CC("cookiecutter.json")
#
# print(cc.project_name.yaml(default=True) + "\n")
#
# print(cc.project_slug.yaml(default=True) + "\n")
#
# print(cc.to_yaml(
# "project_short_description",
# "full_name",
# "email",
# "github_username",
# "pypi_username",
# "conda_channel",
# "command_line_interface",
# "sphinx_use_autodocsumm",
# "sphinx_theme",
# default=True,
# ) + "\n",
# )
#
# print(cc.year.yaml() + "\n")
#
# from datetime import datetime
# print(" default: {}".format(datetime.now().year))
# ]]]
project_name:
type: str
help: The name of the project
default: mypackage
project_slug:
type: str
help: The name of the python module
default: "{{ project_name.lower().replace(' ', '_').replace('-', '_') }}"
project_short_description:
type: str
help: Short description of the project
default: All the boilerplate you need to create a Python package.
full_name:
type: str
help: Author name
default: William P. Krekelberg
email:
type: str
help: Author email
default: [email protected]
github_username:
type: str
help: github username
default: wpk-nist-gov
pypi_username:
type: str
help: pypi username
default: wpk-nist
conda_channel:
type: str
help: conda channel
default: "{{ pypi_username }}"
command_line_interface:
help: Select command line interface type
choices:
"No command-line interface": none
"Click": click
"Typer": typer
"Argparse": argparse
default: none
sphinx_use_autodocsumm:
type: bool
help: Use `autodocsumm` sphinx extension
default: yes
sphinx_theme:
help: Select sphinx theme
choices:
"Sphinx book theme": sphinx_book_theme
"Furo theme": furo
default: sphinx_book_theme
year:
type: str
help: Copyright/creation year
default: 2023
# [[[end]]]
# * Copier options
_templates_suffix: ""
_subdirectory: "{% raw %}{{cookiecutter.project_name}}{% endraw %}"
_jinja_extensions:
- copier_templates_extensions.TemplateExtensionLoader
- tools/copier_extensions.py:CookiecutterNamespace