Skip to content

Commit 3e1cb0c

Browse files
[py] moved MANIFEST.in contents to pyproject.toml (SeleniumHQ#14680)
moved MANIFEST.in contents to pyproject.toml Co-authored-by: Viet Nguyen Duc <[email protected]>
1 parent fbe116c commit 3e1cb0c

File tree

3 files changed

+22
-25
lines changed

3 files changed

+22
-25
lines changed

py/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ pkg_files(
228228
name = "selenium-sdist-pkg",
229229
srcs = [
230230
"CHANGES",
231-
"MANIFEST.in",
232231
"README.rst",
233232
"pyproject.toml",
234233
"setup.py",

py/MANIFEST.in

Lines changed: 0 additions & 24 deletions
This file was deleted.

py/pyproject.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22
requires = ["setuptools", "setuptools-rust"]
33
build-backend = "setuptools.build_meta"
44

5+
[tool.setuptools.packages.find]
6+
include = ["selenium*"]
7+
exclude = ["test*"]
8+
namespaces = false
9+
# include-package-data is `true` by default in pyproject.toml
10+
11+
[tool.setuptools.package-data]
12+
selenium_package = [
13+
"*.py",
14+
"*.rst",
15+
"*.json",
16+
"*.xpi",
17+
"*.js",
18+
"py.typed",
19+
"prune*",
20+
"selenium.egg-info*",
21+
"selenium-manager",
22+
"selenium-manager.exe",
23+
"CHANGES",
24+
"LICENSE"
25+
]
26+
527
[tool.pytest.ini_options]
628
console_output_style = "progress"
729
faulthandler_timeout = 60

0 commit comments

Comments
 (0)