From 656bd96c6c388927fd16c260fca416e7b2c27ba8 Mon Sep 17 00:00:00 2001 From: Paul Ortman Date: Mon, 17 Apr 2017 23:38:53 -0500 Subject: [PATCH] add "integration" install option with minimal docs --- doc/introduction.rst | 3 +++ setup.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/introduction.rst b/doc/introduction.rst index 85ff523c..0bf2ea9f 100644 --- a/doc/introduction.rst +++ b/doc/introduction.rst @@ -31,6 +31,9 @@ This package is in the `Python Package Index be enough. You can also clone it on `Github `__. +If you wish to use GitHub Integrations, you'll want to be sure to install the +'integrations' option: ``pip install PyGithub['integrations']`` + Licensing --------- diff --git a/setup.py b/setup.py index 7f221382..ee1cb00d 100755 --- a/setup.py +++ b/setup.py @@ -96,5 +96,8 @@ if __name__ == "__main__": use_2to3=True, install_requires=[ "pyjwt" - ] + ], + extras_require = { + "integrations": ["cryptography"] + } )