mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Import __version__ from .
This commit is contained in:
parent
54d329b192
commit
b22e4711cb
|
@ -25,7 +25,7 @@ from enum import IntEnum, IntFlag
|
|||
from functools import reduce
|
||||
from typing import Any
|
||||
|
||||
from . import Image
|
||||
from . import Image, __version__
|
||||
from ._deprecate import deprecate
|
||||
|
||||
try:
|
||||
|
@ -1087,4 +1087,4 @@ def versions():
|
|||
12,
|
||||
'(PIL.features.version("littlecms2"), sys.version, PIL.__version__)',
|
||||
)
|
||||
return _VERSION, core.littlecms_version, sys.version.split()[0], Image.__version__
|
||||
return _VERSION, core.littlecms_version, sys.version.split()[0], __version__
|
||||
|
|
Loading…
Reference in New Issue
Block a user