mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06: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 functools import reduce
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from . import Image
|
from . import Image, __version__
|
||||||
from ._deprecate import deprecate
|
from ._deprecate import deprecate
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -1087,4 +1087,4 @@ def versions():
|
||||||
12,
|
12,
|
||||||
'(PIL.features.version("littlecms2"), sys.version, PIL.__version__)',
|
'(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