-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This migrates from cookiecutter template to copier while keeping all original features. Closes #348 Co-authored-by: Olga Lyashevska <[email protected]> Co-authored-by: Sander van Rijn <[email protected]>
- Loading branch information
1 parent
780e6a4
commit c56305a
Showing
65 changed files
with
888 additions
and
642 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,6 @@ env | |
env3 | ||
venv | ||
venv3 | ||
|
||
.swp | ||
.orig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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: [email protected] | ||
copyright_holder: | ||
type: str | ||
default: Netherlands eScience Center | ||
code_of_conduct_email: | ||
type: str | ||
default: "{{ email }}" | ||
|
||
_subdirectory: template | ||
|
||
repository: | ||
default: [email protected]:{{ github_organization }}/{{ directory_name }} | ||
when: false | ||
|
||
repository_url: | ||
default: https://github.com/{{ github_organization }}/{{ directory_name }} | ||
when: false | ||
|
||
|
||
# Optional questions |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.