mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
52b1f46b12
Pillow now requires the olefile Python package through setup.py. This removes Pillow's maintenance of this library by instead relying on and reusing the upstream version. No longer need to regularly update the vendored package and docs. olefile bug fixes and features can go directly upstream. During travis tests, now installs Pillow package before tests; this will also install all dependencies (currently, only olefile).
15 lines
272 B
Python
Executable File
15 lines
272 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import warnings
|
|
|
|
warnings.warn(
|
|
'PIL.OleFileIO is deprecated. Use the olefile Python package '
|
|
'instead. This module will be removed in a future version.',
|
|
DeprecationWarning
|
|
)
|
|
|
|
import olefile
|
|
import sys
|
|
|
|
sys.modules[__name__] = olefile
|