|
1 | | -[build-system] |
2 | | -requires = ["setuptools==82.0.1", "setuptools-scm==10.3.4", "wheel==0.48.0", "auditwheel==6.7.0"] |
3 | | -build-backend = "setuptools.build_meta" |
4 | | - |
5 | | -[project] |
6 | | -name = "playwright" |
7 | | -description = "A high-level API to automate web browsers" |
8 | | -authors = [ |
9 | | - {name = "Microsoft Corporation"} |
10 | | -] |
11 | | -readme = "README.md" |
12 | | -license = "Apache-2.0" |
13 | | -dynamic = ["version"] |
14 | | -requires-python = ">=3.10" |
15 | | -# Please when changing dependencies run the following commands to update requirements.txt: |
16 | | -# - pip install uv==0.5.4 |
17 | | -# - uv pip compile pyproject.toml -o requirements.txt |
18 | | -dependencies = [ |
19 | | - "pyee>=13,<15", |
20 | | - "greenlet>=3.1.1,<4.0.0" |
21 | | -] |
22 | | -classifiers = [ |
23 | | - "Topic :: Software Development :: Testing", |
24 | | - "Topic :: Internet :: WWW/HTTP :: Browsers", |
25 | | - "Intended Audience :: Developers", |
26 | | - "Programming Language :: Python :: 3", |
27 | | - "Programming Language :: Python :: 3.10", |
28 | | - "Programming Language :: Python :: 3.11", |
29 | | - "Programming Language :: Python :: 3.12", |
30 | | - "Programming Language :: Python :: 3.13", |
31 | | - "Programming Language :: Python :: 3.14", |
32 | | - "Operating System :: OS Independent", |
33 | | -] |
34 | | - |
35 | | -[project.urls] |
36 | | -homepage = "https://github.com/Microsoft/playwright-python" |
37 | | -"Release notes" = "https://github.com/microsoft/playwright-python/releases" |
38 | | - |
39 | | -[project.scripts] |
40 | | -playwright = "playwright.__main__:main" |
41 | | - |
42 | | -[project.entry-points.pyinstaller40] |
43 | | -hook-dirs = "playwright._impl.__pyinstaller:get_hook_dirs" |
44 | | - |
45 | | -[tool.setuptools] |
46 | | -packages = [ |
47 | | - "playwright", |
48 | | - "playwright.async_api", |
49 | | - "playwright.sync_api", |
50 | | - "playwright._impl", |
51 | | - "playwright._impl.__pyinstaller", |
52 | | -] |
53 | | -include-package-data = true |
54 | | - |
55 | | -[tool.setuptools_scm] |
56 | | -version_file = "playwright/_repo_version.py" |
57 | | - |
58 | | -[tool.pytest.ini_options] |
59 | | -addopts = "-Wall -rsx -vv -s" |
60 | | -markers = [ |
61 | | - "skip_browser", |
62 | | - "only_browser", |
63 | | - "skip_platform", |
64 | | - "only_platform", |
65 | | - "skip_protocol_check" |
66 | | -] |
67 | | -junit_family = "xunit2" |
68 | | -asyncio_mode = "auto" |
69 | | -asyncio_default_fixture_loop_scope = "session" |
70 | | -asyncio_default_test_loop_scope = "session" |
71 | | - |
72 | | -[tool.mypy] |
73 | | -ignore_missing_imports = true |
74 | | -python_version = "3.10" |
75 | | -warn_unused_ignores = false |
76 | | -warn_redundant_casts = true |
77 | | -warn_unused_configs = true |
78 | | -check_untyped_defs = true |
79 | | -disallow_untyped_defs = true |
80 | | -no_implicit_optional = false |
81 | | -exclude = [ |
82 | | - "build/", |
83 | | - "env/", |
84 | | -] |
85 | | - |
86 | | -[tool.isort] |
87 | | -profile = "black" |
88 | | - |
89 | | -[tool.pyright] |
90 | | -include = ["playwright", "tests", "scripts"] |
91 | | -exclude = ["**/node_modules", "**/__pycache__", "**/.*", "./build"] |
92 | | -pythonVersion = "3.10" |
93 | | -reportMissingImports = false |
94 | | -reportTypedDictNotRequiredAccess = false |
95 | | -reportCallInDefaultInitializer = true |
96 | | -reportOptionalSubscript = false |
97 | | -reportUnboundVariable = false |
98 | | -strictParameterNoneValue = false |
99 | | -reportIncompatibleVariableOverride = false |
| 1 | +[build-system] |
| 2 | +requires = ["setuptools==82.0.1", "setuptools-scm==10.3.4", "wheel==0.48.0", "auditwheel==6.7.0"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "playwright" |
| 7 | +description = "A high-level API to automate web browsers" |
| 8 | +authors = [ |
| 9 | + {name = "Microsoft Corporation"} |
| 10 | +] |
| 11 | +readme = "README.md" |
| 12 | +license = "Apache-2.0" |
| 13 | +dynamic = ["version"] |
| 14 | +requires-python = ">=3.10" |
| 15 | +# Please when changing dependencies run the following commands to update requirements.txt: |
| 16 | +# - pip install uv==0.5.4 |
| 17 | +# - uv pip compile pyproject.toml -o requirements.txt |
| 18 | +dependencies = [ |
| 19 | + "pyee>=13,<15", |
| 20 | + "greenlet>=3.1.1,<4.0.0" |
| 21 | +] |
| 22 | +classifiers = [ |
| 23 | + "Topic :: Software Development :: Testing", |
| 24 | + "Topic :: Internet :: WWW/HTTP :: Browsers", |
| 25 | + "Intended Audience :: Developers", |
| 26 | + "Programming Language :: Python :: 3", |
| 27 | + "Programming Language :: Python :: 3.10", |
| 28 | + "Programming Language :: Python :: 3.11", |
| 29 | + "Programming Language :: Python :: 3.12", |
| 30 | + "Programming Language :: Python :: 3.13", |
| 31 | + "Programming Language :: Python :: 3.14", |
| 32 | + "Operating System :: OS Independent", |
| 33 | +] |
| 34 | + |
| 35 | +[project.urls] |
| 36 | +homepage = "https://github.com/Microsoft/playwright-python" |
| 37 | +"Release notes" = "https://github.com/microsoft/playwright-python/releases" |
| 38 | + |
| 39 | +[project.scripts] |
| 40 | +playwright = "playwright.__main__:main" |
| 41 | + |
| 42 | +[project.entry-points.pyinstaller40] |
| 43 | +hook-dirs = "playwright._impl.__pyinstaller:get_hook_dirs" |
| 44 | + |
| 45 | +[tool.setuptools] |
| 46 | +packages = [ |
| 47 | + "playwright", |
| 48 | + "playwright.async_api", |
| 49 | + "playwright.sync_api", |
| 50 | + "playwright._impl", |
| 51 | + "playwright._impl.__pyinstaller", |
| 52 | +] |
| 53 | +include-package-data = true |
| 54 | + |
| 55 | +[tool.setuptools_scm] |
| 56 | +version_file = "playwright/_repo_version.py" |
| 57 | + |
| 58 | +[tool.pytest.ini_options] |
| 59 | +addopts = "-Wall -rsx -vv -s" |
| 60 | +markers = [ |
| 61 | + "skip_browser", |
| 62 | + "only_browser", |
| 63 | + "skip_platform", |
| 64 | + "only_platform", |
| 65 | + "skip_protocol_check" |
| 66 | +] |
| 67 | +junit_family = "xunit2" |
| 68 | +asyncio_mode = "auto" |
| 69 | +asyncio_default_fixture_loop_scope = "session" |
| 70 | +asyncio_default_test_loop_scope = "session" |
| 71 | + |
| 72 | +[tool.mypy] |
| 73 | +ignore_missing_imports = true |
| 74 | +python_version = "3.10" |
| 75 | +warn_unused_ignores = false |
| 76 | +warn_redundant_casts = true |
| 77 | +warn_unused_configs = true |
| 78 | +check_untyped_defs = true |
| 79 | +disallow_untyped_defs = true |
| 80 | +no_implicit_optional = false |
| 81 | +exclude = [ |
| 82 | + "build/", |
| 83 | + "env/", |
| 84 | +] |
| 85 | + |
| 86 | +[tool.isort] |
| 87 | +profile = "black" |
| 88 | + |
| 89 | +[tool.pyright] |
| 90 | +include = ["playwright", "tests", "scripts"] |
| 91 | +exclude = ["**/node_modules", "**/__pycache__", "**/.*", "./build"] |
| 92 | +pythonVersion = "3.10" |
| 93 | +reportMissingImports = false |
| 94 | +reportTypedDictNotRequiredAccess = false |
| 95 | +reportCallInDefaultInitializer = true |
| 96 | +reportOptionalSubscript = false |
| 97 | +reportUnboundVariable = false |
| 98 | +strictParameterNoneValue = false |
| 99 | +reportIncompatibleVariableOverride = false |
0 commit comments