Author: Johannes 'josch' Schauer <josch@debian.org>
Description: android_backup is not packaged
 thus we make it optional by moving its import to when it is needed

--- a/miio/extract_tokens.py
+++ b/miio/extract_tokens.py
@@ -6,7 +6,6 @@ from typing import Iterator
 
 import attr
 import click
-from android_backup import AndroidBackup
 from cryptography.hazmat.backends import default_backend
 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
 
@@ -135,6 +134,7 @@ def main(backup, write_to_disk, password
     reader = BackupDatabaseReader(dump_raw)
     if backup.endswith(".ab"):
         DBFILE = "apps/com.xiaomi.smarthome/db/miio2.db"
+        from android_backup import AndroidBackup
         with AndroidBackup(backup, stream=False) as f:
             tar = f.read_data(password)
             try:
--- a/python_miio.egg-info/requires.txt
+++ b/python_miio.egg-info/requires.txt
@@ -3,7 +3,6 @@ click
 cryptography
 zeroconf
 attrs
-android_backup
 pytz
 appdirs
 tqdm
--- a/setup.py
+++ b/setup.py
@@ -50,7 +50,6 @@ setup(
         'cryptography',
         'zeroconf',
         'attrs',
-        'android_backup',
         'pytz',
         'appdirs',
         'tqdm',
