From c57d860695adea018211e7355fcf8b41a046fa73 Mon Sep 17 00:00:00 2001 From: Oliver Sanders Date: Thu, 18 Nov 2021 17:13:06 +0000 Subject: [PATCH] Update installation instructions Document supported Python versions for PyPi/Pip & add Conda instructions. --- README.rst | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 65a6816..7df3b35 100644 --- a/README.rst +++ b/README.rst @@ -23,11 +23,33 @@ Python 2 application servers: Installation instructions ========================= -For instaling graphql-ws, just run this command in your shell +Install with Pip: + +.. |pypi| image:: https://img.shields.io/pypi/v/graphql-ws + :alt: PyPI + :target: https://pypi.org/project/graphql-ws/ + +.. |python| image:: https://img.shields.io/pypi/pyversions/graphql-ws + :alt: PyPI - Python Version + :target: https://pypi.org/project/graphql-ws/ + +.. |conda| image:: https://img.shields.io/conda/v/conda-forge/graphql-ws + :alt: Conda + :target: https://anaconda.org/conda-forge/graphql-ws + +|pypi| |python| + +.. code:: bash + + pip install graphql-ws + +Or Conda: + +|conda| .. code:: bash - pip install graphql-ws + conda install -c conda-forge graphql-ws Examples