forked from TkinterEP/ttkthemes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (44 loc) · 1.66 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
"""
Author: RedFantom
License: GNU GPLv3
Copyright (c) 2017-2018 RedFantom
"""
import os
from tkinter import TkVersion
from setuptools import setup
if TkVersion <= 8.5:
message = "This version of ttkthemes does not support Tk 8.5 and earlier. Please install a later version."
raise RuntimeError(message)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="ttkthemes",
packages=["ttkthemes"],
package_data={"ttkthemes": ["themes/*", "png/*", "gif/*", "advanced/*"]},
version="3.2.2",
description="A group of themes for the ttk extensions of Tkinter with a Tkinter.Tk wrapper",
author="The ttkthemes authors",
author_email="[email protected]",
url="https://github.com/RedFantom/ttkthemes",
download_url="https://github.com/RedFantom/ttkthemes/releases",
include_package_data=True,
keywords=["tkinter", "ttk", "gui", "tcl", "theme"],
license="GPLv3",
long_description=read("README.md"),
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Software Development :: Libraries :: Tcl Extensions",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False,
install_requires=["pillow"],
has_ext_modules=lambda: True,
python_requires=">=3.5"
)