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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
[build-system]
requires = ["setuptools", "setuptools_scm[toml]"]
build-backend = "setuptools.build_meta"
[project]
name = "pywebview"
authors = [{ name = "Roman Sirokov", email = "roman@flowrl.com" }]
description = "Build GUI for your Python program with JavaScript, HTML, and CSS"
keywords = ["gui", "webkit", "html", "web"]
requires-python = ">=3.7"
license = { file = "LICENSE" }
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications :: GTK",
"Environment :: X11 Applications :: Qt",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: User Interfaces",
]
dependencies = [
"pythonnet;sys_platform=='win32'",
"pyobjc-core;sys_platform=='darwin'",
"pyobjc-framework-Cocoa;sys_platform=='darwin'",
"pyobjc-framework-Quartz;sys_platform=='darwin'",
"pyobjc-framework-WebKit;sys_platform=='darwin'",
"pyobjc-framework-security;sys_platform=='darwin'",
"QtPy;sys_platform=='openbsd6'",
"importlib_resources; python_version < '3.7'",
"proxy_tools",
"bottle",
"typing_extensions",
]
dynamic = ["version"]
[project.optional-dependencies]
cef = ["cefpython3"]
gtk = ["PyGObject==3.50.0", "PyGObject-stubs"]
pyside2 = ["QtPy", "PySide2"]
pyside6 = ["QtPy", "PySide6"]
qt = ["QtPy", "PyQt6", "PyQt6-WebEngine"]
qt5 = ["QtPy", "PyQt5", "pyqtwebengine"]
qt6 = ["QtPy", "PyQt6", "PyQt6-WebEngine"]
android = ["kivy", "jnius"]
ssl = ["cryptography"]
[project.urls]
Homepage = "https://pywebview.flowrl.com/"
Repository = "https://github.com/r0x0r/pywebview"
[tool.build-system]
exclude = [
"docs/*",
"tests/*",
"examples/*",
".github/*",
"logo/*",
"appveyor.yml",
".*"
]
[tool.black]
line-length = 100
[tool.isort]
line_length = 100
[tool.setuptools]
include-package-data = false
packages = [
"webview", "webview.dom", "webview.js", "webview.platforms",
"webview.platforms.android", "webview.platforms.android.jinterface", "webview.platforms.android.jclass",
"webview.__pyinstaller"]
[tool.setuptools.package-data]
"webview.lib" = ["**/*.dll", "**/*.jar"]
"webview.js" = ["**/*.js"]
"webview" = ["py.typed"]
[tool.setuptools_scm]
write_to = "webview/_version.py"
[project.entry-points."pyinstaller40"]
hook-dirs = "webview.__pyinstaller:get_hook_dirs"
|