From 5d2314aa90e87e040b9c334927f8f95cabe5cc05 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 9 May 2024 00:41:38 -0500 Subject: [PATCH 1/2] docs: Add conda-forge distribution badge to README * Add badge for conda-forge distribution to README. - c.f. https://anaconda.org/conda-forge/hepdata-validator - Use prefix.dev's view as it provides much better user information. --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 789b86a..a2e03dc 100644 --- a/README.rst +++ b/README.rst @@ -22,6 +22,10 @@ :target: https://pypi.org/project/hepdata-validator/ :alt: PyPI Version +.. image:: https://img.shields.io/conda/vn/conda-forge/hepdata-validator.svg + :target: https://prefix.dev/channels/conda-forge/packages/hepdata-validator + :alt: conda-forge Version + .. image:: https://img.shields.io/github/issues/hepdata/hepdata-validator.svg?maxAge=2592000 :target: https://github.com/HEPData/hepdata-validator/issues :alt: GitHub Issues From 9cd016aadb455df5cd6152ba8acd795c0060c9ba Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 9 May 2024 00:53:04 -0500 Subject: [PATCH 2/2] docs: Add conda-forge install instructions to README --- README.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.rst b/README.rst index a2e03dc..3c8d957 100644 --- a/README.rst +++ b/README.rst @@ -60,6 +60,13 @@ with the LibYAML bindings. Run the following after installing LibYAML via Homebr $ LDFLAGS="-L$(brew --prefix)/lib" CFLAGS="-I$(brew --prefix)/include" pip install --global-option="--with-libyaml" --force pyyaml +Alternatively, install from `conda-forge `_ using a ``conda`` ecosystem package manager: + +.. code:: bash + + $ conda install --channel conda-forge hepdata-validator + $ hepdata-validate --help + Developers ==========