Skip to content

Commit

Permalink
[py] moved MANIFEST.in contents to pyproject.toml (#14680)
Browse files Browse the repository at this point in the history
moved MANIFEST.in contents to pyproject.toml

Co-authored-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
sandeepsuryaprasad and VietND96 authored Nov 9, 2024
1 parent fbe116c commit 3e1cb0c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 25 deletions.
1 change: 0 additions & 1 deletion py/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ pkg_files(
name = "selenium-sdist-pkg",
srcs = [
"CHANGES",
"MANIFEST.in",
"README.rst",
"pyproject.toml",
"setup.py",
Expand Down
24 changes: 0 additions & 24 deletions py/MANIFEST.in

This file was deleted.

22 changes: 22 additions & 0 deletions py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@
requires = ["setuptools", "setuptools-rust"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
include = ["selenium*"]
exclude = ["test*"]
namespaces = false
# include-package-data is `true` by default in pyproject.toml

[tool.setuptools.package-data]
selenium_package = [
"*.py",
"*.rst",
"*.json",
"*.xpi",
"*.js",
"py.typed",
"prune*",
"selenium.egg-info*",
"selenium-manager",
"selenium-manager.exe",
"CHANGES",
"LICENSE"
]

[tool.pytest.ini_options]
console_output_style = "progress"
faulthandler_timeout = 60
Expand Down

0 comments on commit 3e1cb0c

Please sign in to comment.