Add iphone-backup-decrypt to setup.py as extra dependency

This commit is contained in:
KnugiHK
2023-06-16 17:57:33 +08:00
parent ff95625edf
commit 38c1e47be9
2 changed files with 4 additions and 2 deletions

View File

@@ -87,7 +87,8 @@ Do an iPhone/iPad Backup with iTunes first.
If you want to work on an encrypted iOS/iPadOS Backup, you should install iphone_backup_decrypt from [KnugiHK/iphone_backup_decrypt](https://github.com/KnugiHK/iphone_backup_decrypt) before you run the extract_iphone_media.py. If you want to work on an encrypted iOS/iPadOS Backup, you should install iphone_backup_decrypt from [KnugiHK/iphone_backup_decrypt](https://github.com/KnugiHK/iphone_backup_decrypt) before you run the extract_iphone_media.py.
```sh ```sh
pip install git+https://github.com/KnugiHK/iphone_backup_decrypt pip install git+https://github.com/KnugiHK/iphone_backup_decrypt # Or
pip install whatsapp-chat-exporter["ios_backup"] # install along with this software
``` ```
### Extracting ### Extracting
Simply invoke the following command from shell, remember to replace the username and device id correspondingly in the command. Simply invoke the following command from shell, remember to replace the username and device id correspondingly in the command.

View File

@@ -53,7 +53,8 @@ setuptools.setup(
'android_backup': ["pycryptodome", "javaobj-py3"], 'android_backup': ["pycryptodome", "javaobj-py3"],
'crypt12': ["pycryptodome"], 'crypt12': ["pycryptodome"],
'crypt14': ["pycryptodome"], 'crypt14': ["pycryptodome"],
'crypt15': ["pycryptodome", "javaobj-py3"] 'crypt15': ["pycryptodome", "javaobj-py3"],
'ios_backup': [' iphone-backup-decrypt @ git+https://github.com/KnugiHK/iphone_backup_decrypt.git']
}, },
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [