Skip to content

Commit

Permalink
Add doc to install gql with conda (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
leszekhanusz authored Apr 23, 2022
1 parent b072969 commit a4641d0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ You can install GQL with all the optional dependencies using pip:

pip install gql[all]

> **NOTE**: See also [the documentation](https://gql.readthedocs.io/en/latest/intro.html#less-dependencies) to install GQL with less extra dependencies depending on the transports you would like to use
> **NOTE**: See also [the documentation](https://gql.readthedocs.io/en/latest/intro.html#less-dependencies) to install GQL with less extra dependencies depending on the transports you would like to use or for alternative installation methods.
## Usage

Expand Down
14 changes: 14 additions & 0 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,19 @@ The corresponding between extra dependencies required and the GQL classes is:
It is also possible to install multiple extra dependencies if needed
using commas: :code:`gql[aiohttp,websockets]`

Installation with conda
^^^^^^^^^^^^^^^^^^^^^^^

It is also possible to install gql using `conda`_.

To install gql with all extra dependencies::

conda install gql-with-all

To install gql with less dependencies, you might want to instead install a combinaison of the
following packages: :code:`gql-with-aiohttp`, :code:`gql-with-websockets`, :code:`gql-with-requests`,
:code:`gql-with-botocore`

Reporting Issues and Contributing
---------------------------------

Expand All @@ -69,3 +82,4 @@ Please check the `Contributing`_ file to learn how to make a good pull request.
.. _pip: https://pip.pypa.io/
.. _GitHub repository for gql: https://github.com/graphql-python/gql
.. _Contributing: https://github.com/graphql-python/gql/blob/master/CONTRIBUTING.md
.. _conda: https://docs.conda.io

0 comments on commit a4641d0

Please sign in to comment.