NLeSC / python-template

Netherlands eScience Center Python Template
https://research-software-directory.org/software/nlesc-python-template
Apache License 2.0
177 stars 76 forks source link

469-Make zenodo optional #520

Closed lyashevska closed 3 weeks ago

lyashevska commented 3 weeks ago

Description

This PR makes zenodo integration optional.

Related issues:

Install the requirements

cd $(mktemp -d --tmpdir py-tmpl-XXXXXX)
pip install pipx
pipx install copier

Test 1:

Step-1: Run the command below and say 'yes' to zenodo question

copier copy --vcs-ref 469-zenodo https://github.com/nlesc/python-template test_yes

Step-2: Run the command below and say 'no' to zenodo question

copier copy --vcs-ref 469-zenodo https://github.com/nlesc/python-template test_no

What to check: You should see the files below only when you say 'yes':

Check if there are mentions of zenodo or doi in any file of the generated package.

Test 2: