Commit 756fd308bef01dd03d4b048e6ba2442a8bc6fb26
1 parent
07dfc607
Add optional dependency for decryption
oletools will happily install without these, so this is mainly informative.
Showing
1 changed file
with
5 additions
and
0 deletions
setup.py
| @@ -28,6 +28,7 @@ to install this package. | @@ -28,6 +28,7 @@ to install this package. | ||
| 28 | # 2018-09-15 PL: - easygui is now a dependency | 28 | # 2018-09-15 PL: - easygui is now a dependency |
| 29 | # 2018-09-22 PL: - colorclass is now a dependency | 29 | # 2018-09-22 PL: - colorclass is now a dependency |
| 30 | # 2018-10-27 PL: - fixed issue #359 (bug when importing log_helper) | 30 | # 2018-10-27 PL: - fixed issue #359 (bug when importing log_helper) |
| 31 | +# 2019-02-26 CH: - add optional dependency msoffcrypto for decryption | ||
| 31 | 32 | ||
| 32 | #--- TODO --------------------------------------------------------------------- | 33 | #--- TODO --------------------------------------------------------------------- |
| 33 | 34 | ||
| @@ -316,6 +317,10 @@ def main(): | @@ -316,6 +317,10 @@ def main(): | ||
| 316 | "easygui", | 317 | "easygui", |
| 317 | 'colorclass', | 318 | 'colorclass', |
| 318 | ], | 319 | ], |
| 320 | + extras_require = { | ||
| 321 | + # msoffcrypto-tools by nolze can be used to decrypt some office files | ||
| 322 | + 'decrypt': ['msoffcrypto'] | ||
| 323 | + } | ||
| 319 | ) | 324 | ) |
| 320 | 325 | ||
| 321 | 326 |