forked from claws/cookiecutter-python-project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcookiecutter.json
34 lines (34 loc) · 1.41 KB
/
cookiecutter.json
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
{
"package_display_name": "Package-Name",
"package_name": "{{ cookiecutter.package_display_name.lower().replace(' ', '_').replace('-', '_') }}",
"package_short_description": "A description of the package",
"version": "0.0.1",
"full_name": "Your Name",
"email": "",
"github_user_name": "GithubUserName",
"github_repo_name": "{{cookiecutter.package_name}}",
"license": [
"Not licensed for distribution (no license)",
"AGPL-3.0-only",
"AGPL-3.0-or-later",
"Apache-2.0",
"BSD-3-Clause",
"GPL-2.0-only",
"GPL-2.0-or-later",
"GPL-3.0-only",
"GPL-3.0-or-later"
],
"year": "{% now 'utc', '%Y' %}",
"_license_map": {
"AGPL-3.0-only": {"source": "AGPL3", "destination": "COPYING"},
"AGPL-3.0-or-later": {"source": "AGPL3", "destination": "COPYING"},
"Apache-2.0": {"source": "APACHE-2.0", "destination": "LICENSE"},
"BSD-3-Clause": {"source": "BSD-3-CLAUSE", "destination": "LICENSE"},
"GPL-2.0-only": {"source": "GPL2", "destination": "COPYING"},
"GPL-2.0-or-later": {"source": "GPL2", "destination": "COPYING"},
"GPL-3.0-only": {"source": "GPL3", "destination": "COPYING"},
"GPL-3.0-or-later": {"source": "GPL3", "destination": "COPYING"}
},
"__license_src": "{{ cookiecutter._license_map.get(cookiecutter.license, {}).get('source', '') }}",
"__license_dest": "{{ cookiecutter._license_map.get(cookiecutter.license, {}).get('destination', '') }}"
}