Skip to content

Commit 3a04edf

Browse files
committed
ALL: Added getAllWindowsDict() general function. Added getPID() method.
LINUX: Added bad window filter to check for window.id == 0
1 parent a76999f commit 3a04edf

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

pyproject.toml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools-scm"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "PyWinCtl"
7+
dynamic = ["version"]
8+
description = "Cross-Platform toolkit to get info on and control windows on screen"
9+
authors = [
10+
{ name = "Kalmat", email = "[email protected]" },
11+
]
12+
readme = "README.md"
13+
license = {file = "LICENSE.txt"}
14+
requires-python = ">=3.9"
15+
keywords = [
16+
"activate",
17+
"close",
18+
"control",
19+
"geometry",
20+
"gui",
21+
"hide",
22+
"lower",
23+
"maximize",
24+
"menu",
25+
"minimize",
26+
"mouse-position",
27+
"move",
28+
"name",
29+
"position",
30+
"raise",
31+
"resize",
32+
"restore",
33+
"screen-size",
34+
"show",
35+
"size",
36+
"title",
37+
"window",
38+
]
39+
classifiers = [
40+
"Development Status :: 4 - Beta",
41+
"Environment :: MacOS X",
42+
"Environment :: Win32 (MS Windows)",
43+
"Environment :: X11 Applications",
44+
"Intended Audience :: Developers",
45+
"License :: OSI Approved :: BSD License",
46+
"Operating System :: OS Independent",
47+
"Programming Language :: Python",
48+
"Programming Language :: Python :: 3",
49+
"Programming Language :: Python :: 3 :: Only",
50+
"Programming Language :: Python :: 3.9",
51+
"Programming Language :: Python :: 3.10",
52+
"Programming Language :: Python :: 3.11",
53+
]
54+
dependencies = [
55+
"ewmhlib>=0.2; sys_platform == 'linux'",
56+
"pymonctl>=0.92",
57+
"pyobjc>=8.1; sys_platform == 'darwin'",
58+
"python-xlib>=0.21; sys_platform == 'linux'",
59+
"pywin32>=302; sys_platform == 'win32'",
60+
"pywinbox>=0.7",
61+
"typing_extensions>=4.4.0",
62+
]
63+
64+
[project.optional-dependencies]
65+
dev = [
66+
"ewmhlib>=0.2",
67+
"mypy>=0.990",
68+
"myst-parser",
69+
"types-python-xlib>=0.32",
70+
"types-pywin32>=305.0.0.3",
71+
"types-setuptools>=65.5",
72+
]
73+
74+
[project.urls]
75+
Homepage = "https://github.com/Kalmat/PyWinCtl"
76+
77+
[tool.setuptools.packages.find]
78+
where = ["src"] # list of folders that contain the packages (["."] by default)
79+
80+
[tool.setuptools.dynamic]
81+
version = {attr = "pywinctl.__version__"} # any module attribute compatible with ast.literal_eval

0 commit comments

Comments
 (0)