-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add CITATION.cff Citation File Format file #243
Conversation
In scikit-hep/hist#416 the |
Small reminder ping to @henryiii @jpivarski. |
Codecov Report
@@ Coverage Diff @@
## main #243 +/- ##
=======================================
Coverage 82.63% 82.63%
=======================================
Files 96 96
Lines 10524 10524
=======================================
Hits 8697 8697
Misses 1827 1827 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
It should be in the SDist by default but not the wheel. Don't see harm in having it in the SDist, though it could be manually excluded if we want to. It's tool.hatch.sdist.exclude or something of that sort. |
[tool.hatch.build.targets.sdist]
exclude = [
"./CITATION.cff"
] should work! |
* Add Citation File Format file to repo to get repository cite button on GitHub and citation support on Zenodo. - c.f. https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files
a936cc7
to
f3800e1
Compare
While [tool.hatch.build.targets.sdist]
exclude = [
"/CITATION.cff"
] does work to ignore it from the sdist $ python -m build . && python -m tarfile --list dist/*.tar.gz | grep "CITATION.cff"
$ echo $?
1 I see that This should be ready for review from the 3 of you now. |
As 2 of the authors have approved this I'm going to merge this. |
Resolves #238
Add Citation File Format file to repo to get repository cite button on GitHub and citation support on Zenodo.
The schema used is validated by
cffconvert