-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
executable file
·40 lines (37 loc) · 1.26 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
import pathlib
#import platform
from setuptools import setup, find_namespace_packages
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
extras = dict()
extras["javascript"] = ["pythonmonkey"]
#if platform.system() == "Linux":
# extras["svg"] = ["pygobject", "pycairo"]
#else:
# extras["svg"] = ["cairosvg"]
extras["svg"] = ["cairosvg"]
extras["full"] = extras["javascript"] + extras["svg"]
setup(
name="tkinterweb",
version="4.3.1",
python_requires=">=3.2",
description="HTML/CSS viewer for Tkinter",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/Andereoo/TkinterWeb",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"License :: Freeware",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development",
],
keywords="tkinter, Tkinter, tkhtml, Tkhtml, Tk, HTML, CSS, webbrowser",
packages=find_namespace_packages(include=["tkinterweb", "tkinterweb.*"]),
include_package_data=True,
install_requires=["tkinterweb-tkhtml", "pillow"],
extras_require = extras,
)