Merge pull request #102 from demberto/issue101-fix

Fixes #101
This commit is contained in:
Tom Schimansky 2022-05-23 10:42:32 +02:00 committed by GitHub
commit b1ac3b6d45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,12 @@ import tkinter
import tkinter.ttk as ttk import tkinter.ttk as ttk
import copy import copy
import re import re
from typing import Callable, Union, TypedDict from typing import Callable, Union
try:
from typing import TypedDict
except ImportError:
from typing_extensions import TypedDict
from ..windows.ctk_tk import CTk from ..windows.ctk_tk import CTk
from ..windows.ctk_toplevel import CTkToplevel from ..windows.ctk_toplevel import CTkToplevel

View File

@ -20,4 +20,5 @@ packages =
customtkinter.windows customtkinter.windows
install_requires = install_requires =
darkdetect darkdetect
typing_extensions; python_version<="3.7"
include_package_data = True include_package_data = True