From 8d71b161fd145d11c40d55c9ab66ac134a303253 Mon Sep 17 00:00:00 2001 From: Jonathan Huot Date: Tue, 6 Aug 2019 17:23:22 +0200 Subject: Add logo to RTD docs & upgraded tox -e readme build to twine. --- docs/conf.py | 2 +- docs/logo/oauth-logo-192x192.png | Bin 0 -> 17744 bytes docs/logo/oauthlib-banner-700x192.png | Bin 0 -> 69430 bytes docs/logo/oauthlib-banner.xcf | Bin 0 -> 135012 bytes docs/logo/oauthlib-logo-128x128.png | Bin 0 -> 20040 bytes docs/logo/oauthlib-logo-192x192.png | Bin 0 -> 31180 bytes docs/logo/oauthlib-logo-256x256.png | Bin 0 -> 44382 bytes docs/logo/oauthlib-logo-32x32.png | Bin 0 -> 2237 bytes docs/logo/oauthlib-logo-64x64.png | Bin 0 -> 5851 bytes docs/logo/oauthlib-logo.png | Bin 0 -> 220459 bytes docs/logo/python-logo-192x192.png | Bin 0 -> 6433 bytes setup.py | 1 + tox.ini | 7 +++---- 13 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 docs/logo/oauth-logo-192x192.png create mode 100644 docs/logo/oauthlib-banner-700x192.png create mode 100644 docs/logo/oauthlib-banner.xcf create mode 100644 docs/logo/oauthlib-logo-128x128.png create mode 100644 docs/logo/oauthlib-logo-192x192.png create mode 100644 docs/logo/oauthlib-logo-256x256.png create mode 100644 docs/logo/oauthlib-logo-32x32.png create mode 100644 docs/logo/oauthlib-logo-64x64.png create mode 100644 docs/logo/oauthlib-logo.png create mode 100644 docs/logo/python-logo-192x192.png diff --git a/docs/conf.py b/docs/conf.py index d18f2aa..3388de6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -117,7 +117,7 @@ html_theme = 'sphinx_rtd_theme' # The name of an image file (relative to this directory) to place at the top # of the sidebar. -#html_logo = None +html_logo = "logo/oauthlib-logo-64x64.png" # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 diff --git a/docs/logo/oauth-logo-192x192.png b/docs/logo/oauth-logo-192x192.png new file mode 100644 index 0000000..1f68dce Binary files /dev/null and b/docs/logo/oauth-logo-192x192.png differ diff --git a/docs/logo/oauthlib-banner-700x192.png b/docs/logo/oauthlib-banner-700x192.png new file mode 100644 index 0000000..f29d5ef Binary files /dev/null and b/docs/logo/oauthlib-banner-700x192.png differ diff --git a/docs/logo/oauthlib-banner.xcf b/docs/logo/oauthlib-banner.xcf new file mode 100644 index 0000000..2c11b3f Binary files /dev/null and b/docs/logo/oauthlib-banner.xcf differ diff --git a/docs/logo/oauthlib-logo-128x128.png b/docs/logo/oauthlib-logo-128x128.png new file mode 100644 index 0000000..cabf1e7 Binary files /dev/null and b/docs/logo/oauthlib-logo-128x128.png differ diff --git a/docs/logo/oauthlib-logo-192x192.png b/docs/logo/oauthlib-logo-192x192.png new file mode 100644 index 0000000..821d3e6 Binary files /dev/null and b/docs/logo/oauthlib-logo-192x192.png differ diff --git a/docs/logo/oauthlib-logo-256x256.png b/docs/logo/oauthlib-logo-256x256.png new file mode 100644 index 0000000..d1dc343 Binary files /dev/null and b/docs/logo/oauthlib-logo-256x256.png differ diff --git a/docs/logo/oauthlib-logo-32x32.png b/docs/logo/oauthlib-logo-32x32.png new file mode 100644 index 0000000..83d14ca Binary files /dev/null and b/docs/logo/oauthlib-logo-32x32.png differ diff --git a/docs/logo/oauthlib-logo-64x64.png b/docs/logo/oauthlib-logo-64x64.png new file mode 100644 index 0000000..f5054ac Binary files /dev/null and b/docs/logo/oauthlib-logo-64x64.png differ diff --git a/docs/logo/oauthlib-logo.png b/docs/logo/oauthlib-logo.png new file mode 100644 index 0000000..883a550 Binary files /dev/null and b/docs/logo/oauthlib-logo.png differ diff --git a/docs/logo/python-logo-192x192.png b/docs/logo/python-logo-192x192.png new file mode 100644 index 0000000..22aa240 Binary files /dev/null and b/docs/logo/python-logo-192x192.png differ diff --git a/setup.py b/setup.py index 3f822e0..1de8510 100755 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ setup( version=oauthlib.__version__, description='A generic, spec-compliant, thorough implementation of the OAuth request-signing logic', long_description=fread('README.rst'), + long_description_content_type='text/x-rst', author='The OAuthlib Community', author_email='idan@gazit.me', maintainer='Ib Lundgren', diff --git a/tox.ini b/tox.ini index 60b0825..4670c91 100644 --- a/tox.ini +++ b/tox.ini @@ -22,12 +22,11 @@ commands=make clean html # tox -e readme to mimick PyPI long_description check [testenv:readme] -skipsdist=True -deps=readme +basepython=python3.7 +deps=twine>=1.12.0 whitelist_externals=echo commands= - python setup.py check -r -s - echo setup.py/long description is syntaxly correct + twine check dist/* [testenv:bandit] basepython=python2.7 -- cgit v1.2.1 From abe9166a88209c8f00ac3c3ec6aaeca9ad77c9a6 Mon Sep 17 00:00:00 2001 From: Jonathan Huot Date: Tue, 6 Aug 2019 17:27:38 +0200 Subject: Add OAuthlib banner to README --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index 7c41a80..2900ecc 100644 --- a/README.rst +++ b/README.rst @@ -26,6 +26,12 @@ logic for Python 2.7 and 3.4+.* :target: https://gitter.im/oauthlib/Lobby :alt: Chat on Gitter + +.. image:: https://raw.githubusercontent.com/oauthlib/oauthlib/8d71b161fd145d11c40d55c9ab66ac134a303253/docs/logo/oauthlib-banner-700x192.png + :target: https://github.com/oauthlib/oauthlib/ + :alt: OAuth + Python = OAuthlib Python Framework + + OAuth often seems complicated and difficult-to-implement. There are several prominent libraries for handling OAuth requests, but they all suffer from one or both of the following: -- cgit v1.2.1