From 4ff4830fa52aedd0368732945038f1f65268123f Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 17 Jun 2024 12:28:14 -0500 Subject: [PATCH] docs: Add CITATION.cff Citation File Format file * Add Citation File Format file to repo to get repository cite button on GitHub. - c.f. https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files * Add CITATION.cff to bump2version control. * Add Matthew Feickert to authors. --- .bumpversion.cfg | 2 ++ CITATION.cff | 44 ++++++++++++++++++++++++++++++++++++++++++++ setup.py | 4 ++-- 3 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 CITATION.cff diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 3b85263..cb622e3 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -4,3 +4,5 @@ commit = True tag = True [bumpversion:file:setup.py] + +[bumpversion:file:CITATION.cff] diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..e0d35f4 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,44 @@ +cff-version: 1.2.0 +message: "Please cite the following works when using this software." +type: software +authors: +- family-names: "Heinrich" + given-names: "Lukas" + orcid: "https://orcid.org/0000-0002-4048-7584" + affiliation: "Technical University of Munich" +- family-names: "Feickert" + given-names: "Matthew" + orcid: "https://orcid.org/0000-0003-4124-7862" + affiliation: "University of Wisconsin-Madison" +title: "yadage-schemas: v0.11.0" +version: 0.11.0 +doi: 10.5281/zenodo.309326 +repository-code: "https://github.com/yadage/yadage-schemas/releases/tag/v0.11.0" +url: "https://github.com/yadage/yadage-schemas/" +keywords: + - python + - physics + - yadage + - reinterpretation + - analysis reuse +license: "Apache-2.0" +references: + - type: article + authors: + - family-names: "Cranmer" + given-names: "Kyle" + orcid: "https://orcid.org/0000-0002-5769-7094" + affiliation: "New York University" + - family-names: "Heinrich" + given-names: "Lukas" + orcid: "https://orcid.org/0000-0002-4048-7584" + affiliation: "New York University" + title: "Yadage and Packtivity - analysis preservation using parametrized workflows" + doi: 10.1088/1742-6596/898/10/102019 + url: "https://doi.org/10.1088/1742-6596/898/10/102019" + year: 2017 + publisher: + name: "IOPscience" + volume: 898 + pages: 102019 + journal: "Journal of Physics: Conference Series" diff --git a/setup.py b/setup.py index 25f4b61..9b29091 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ long_description = read_file.read() setup( - author = 'Lukas Heinrich', - author_email = 'lukas.heinrich@gmail.com', + author = 'Lukas Heinrich, Matthew Feickert', + author_email = 'lukas.heinrich@gmail.com, matthew.feickert@cern.ch', name = 'yadage-schemas', version = '0.11.0', description = 'schemas for yadage and packtivity',