From: 
Subject: Debian changes

The Debian packaging of python-locationsharinglib is maintained in git, using a workflow
similar to the one described in dgit-maint-merge(7).
The Debian delta is represented by this one combined patch; there isn't a
patch queue that can be represented as a quilt series.

A detailed breakdown of the changes is available from their canonical
representation -- git commits in the packaging repository.
For example, to see the changes made by the Debian maintainer in the first
upload of upstream version 1.2.3, you could use:

    % git clone https://git.dgit.debian.org/python-locationsharinglib
    % cd python-locationsharinglib
    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'

(If you have dgit, use `dgit clone python-locationsharinglib`, rather than plain `git clone`.)

We don't use debian/source/options single-debian-patch because it has bugs.
Therefore, NMUs etc. may nevertheless have made additional patches.

---

diff --git a/docs/conf.py b/docs/conf.py
index 7644f40..0499adc 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -30,8 +30,8 @@ project_root = os.path.dirname(cwd)
 # Run apidoc to traverse the project directory and add all modules to the docs
 import sphinx.ext.apidoc
 
-sphinx.ext.apidoc.main(argv=['-f', '-o', os.path.join(project_root, 'docs'),
-                             os.path.join(project_root, '''locationsharinglib''')])
+sphinx.ext.apidoc.main(['-f', '-o', os.path.join(project_root, 'docs'),
+                        os.path.join(project_root, '''locationsharinglib''')])
 
 # Insert the project root dir as the first element in the PYTHONPATH.
 # This lets us ensure that the source package is imported, and that its
diff --git a/locationsharinglib/_version.py b/locationsharinglib/_version.py
index 4e8bc4b..db2e4a1 100644
--- a/locationsharinglib/_version.py
+++ b/locationsharinglib/_version.py
@@ -32,6 +32,7 @@ Manages the version of the package.
 """
 
 import os
+from importlib.metadata import version
 
 __author__ = '''Costas Tyfoxylos <costas.tyf@gmail.com>'''
 __docformat__ = '''google'''
@@ -61,5 +62,8 @@ try:
     with open(VERSION_FILE_PATH, encoding='utf-8') as f:
         __version__ = f.read()
 except IOError:
-    with open(LOCAL_VERSION_FILE_PATH, encoding='utf-8') as f:
-        __version__ = f.read()
+    try:
+        with open(LOCAL_VERSION_FILE_PATH, encoding='utf-8') as f:
+            __version__ = f.read()
+    except FileNotFoundError:
+        __version__ = version('locationsharinglib')
