python-oauth2client/docs-build-fix.patch
2015-11-26 23:40:08 +01:00

35 lines
1.1 KiB
Diff

diff -up oauth2client-1.5.0/docs/conf.py.doc oauth2client-1.5.0/docs/conf.py
--- oauth2client-1.5.0/docs/conf.py.doc 2015-09-03 18:50:23.000000000 +0200
+++ oauth2client-1.5.0/docs/conf.py 2015-09-11 09:11:16.365536545 +0200
@@ -5,7 +5,6 @@
#
import os
-from pkg_resources import get_distribution
import sys
# If extensions (or modules to document with autodoc) are in another directory,
@@ -30,9 +29,8 @@ project = u'oauth2client'
copyright = u'2014, Google, Inc'
# Version info
-distro = get_distribution('oauth2client')
-version = distro.version
-release = distro.version
+version = '1.5.0'
+release = '1.5.0'
exclude_patterns = ['_build']
diff -up oauth2client-1.5.0/docs/source/oauth2client.rst.doc oauth2client-1.5.0/docs/source/oauth2client.rst
--- oauth2client-1.5.0/docs/source/oauth2client.rst.doc 2015-09-03 18:50:23.000000000 +0200
+++ oauth2client-1.5.0/docs/source/oauth2client.rst 2015-09-11 09:05:51.058373112 +0200
@@ -6,7 +6,6 @@ Submodules
.. toctree::
- oauth2client.appengine
oauth2client.client
oauth2client.clientsecrets
oauth2client.crypt