mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Merge pull request #3571 from jdufresne/setup-tkinter
Remove unused _tkinter var from setup.py
This commit is contained in:
commit
5ab266e165
6
setup.py
6
setup.py
|
@ -178,12 +178,6 @@ def get_version():
|
||||||
return locals()['__version__']
|
return locals()['__version__']
|
||||||
|
|
||||||
|
|
||||||
try:
|
|
||||||
import _tkinter
|
|
||||||
except (ImportError, OSError):
|
|
||||||
# pypy emits an oserror
|
|
||||||
_tkinter = None
|
|
||||||
|
|
||||||
NAME = 'Pillow'
|
NAME = 'Pillow'
|
||||||
PILLOW_VERSION = get_version()
|
PILLOW_VERSION = get_version()
|
||||||
JPEG_ROOT = None
|
JPEG_ROOT = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user