Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ py/docs/source/**/*
!py/docs/source/conf.py
!py/docs/source/*.rst
py/build/
py/LICENSE
py/pytestdebug.log
py/python.iml
selenium.egg-info/
Expand Down
22 changes: 21 additions & 1 deletion py/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,24 @@ copy_file(
out = "selenium-%s.dist-info/LICENSE" % SE_VERSION,
)

select_file(
name = "global-notice",
srcs = "//:license",
subpath = "NOTICE",
)

copy_file(
name = "notice",
src = ":global-notice",
out = "NOTICE",
)

copy_file(
name = "notice-wheel",
src = ":global-notice",
out = "selenium-%s.dist-info/NOTICE" % SE_VERSION,
)

py_library(
name = "selenium",
srcs = glob(
Expand Down Expand Up @@ -251,6 +269,7 @@ pkg_files(
"README.rst",
"pyproject.toml",
":license",
":notice",
":selenium-pkg",
":selenium-pkginfo",
"//rust:selenium_manager_srcs",
Expand Down Expand Up @@ -304,7 +323,7 @@ py_wheel(
description_file = "README.rst",
distribution = "selenium",
homepage = "https://www.selenium.dev",
license = "Apache 2.0",
license = "Apache-2.0",
python_requires = ">=3.9",
python_tag = "py3",
requires = [
Expand All @@ -326,6 +345,7 @@ py_wheel(
visibility = ["//visibility:public"],
deps = [
":license-wheel",
":notice-wheel",
":selenium-pkg",
],
)
Expand Down
1 change: 1 addition & 0 deletions py/LICENSE
1 change: 1 addition & 0 deletions py/NOTICE
6 changes: 4 additions & 2 deletions py/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ build-backend = "setuptools.build_meta"
[project]
name = "selenium"
version = "4.35.0.202507081456"
license = { text = "Apache 2.0" }
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
description = "Official Python bindings for Selenium WebDriver."
readme = "README.rst"
requires-python = "~=3.9"
Expand Down Expand Up @@ -67,7 +68,8 @@ binding = "Exec"
"selenium-manager",
"selenium-manager.exe",
"CHANGES",
"LICENSE"
"LICENSE",
"NOTICE",
]

[tool.pytest.ini_options]
Expand Down
Loading