File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 44Copyright (c) 2020-2021 RedFantom
55"""
66import sys
7+ from tkinter import TkVersion
8+
9+
10+ if TkVersion >= 8.7 :
11+ message = "Tk 8.7 or higher detected. You do not need tksvg, SVG support is included in your Tkinter version."
12+ raise RuntimeError (message )
713
814
915def read (file_name ):
@@ -175,8 +181,8 @@ def copy_to_target(self, target: str):
175181 packages = ["tksvg" ],
176182 description = "SVG support for PhotoImage in Tk 8.6" ,
177183 author = "The tksvg authors" ,
178- url = "https://github.com/RedFantom /tksvg" ,
179- download_url = "https://github.com/RedFantom/python- tksvg/releases" ,
184+ url = "https://github.com/TkinterEP /tksvg" ,
185+ download_url = "https://github.com/TkinterEP/ tksvg/releases" ,
180186 license = "GNU GPLv3" ,
181187 long_description = read ("README.md" ),
182188 zip_safe = False ,
You can’t perform that action at this time.
0 commit comments