Skip to content

Commit cd70d5d

Browse files
authored
Merge branch 'SeleniumHQ:trunk' into py-selenium-manager-arm-support
2 parents 371668a + 2a74c64 commit cd70d5d

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ py/docs/source/**/*
7878
!py/docs/source/conf.py
7979
!py/docs/source/*.rst
8080
py/build/
81-
py/LICENSE
8281
py/pytestdebug.log
8382
py/python.iml
8483
selenium.egg-info/

py/BUILD.bazel

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,24 @@ copy_file(
208208
out = "selenium-%s.dist-info/LICENSE" % SE_VERSION,
209209
)
210210

211+
select_file(
212+
name = "global-notice",
213+
srcs = "//:license",
214+
subpath = "NOTICE",
215+
)
216+
217+
copy_file(
218+
name = "notice",
219+
src = ":global-notice",
220+
out = "NOTICE",
221+
)
222+
223+
copy_file(
224+
name = "notice-wheel",
225+
src = ":global-notice",
226+
out = "selenium-%s.dist-info/NOTICE" % SE_VERSION,
227+
)
228+
211229
py_library(
212230
name = "selenium",
213231
srcs = glob(
@@ -263,6 +281,7 @@ pkg_files(
263281
"README.rst",
264282
"pyproject.toml",
265283
":license",
284+
":notice",
266285
":selenium-pkg",
267286
":selenium-pkginfo",
268287
"//rust:selenium_manager_srcs",
@@ -316,7 +335,7 @@ py_wheel(
316335
description_file = "README.rst",
317336
distribution = "selenium",
318337
homepage = "https://www.selenium.dev",
319-
license = "Apache 2.0",
338+
license = "Apache-2.0",
320339
python_requires = ">=3.9",
321340
python_tag = "py3",
322341
requires = [
@@ -338,6 +357,7 @@ py_wheel(
338357
visibility = ["//visibility:public"],
339358
deps = [
340359
":license-wheel",
360+
":notice-wheel",
341361
":selenium-pkg",
342362
],
343363
)

py/LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE

py/NOTICE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../NOTICE

py/pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "selenium"
77
version = "4.35.0.202507081456"
8-
license = { text = "Apache 2.0" }
8+
license = "Apache-2.0"
9+
license-files = ["LICENSE", "NOTICE"]
910
description = "Official Python bindings for Selenium WebDriver."
1011
readme = "README.rst"
1112
requires-python = "~=3.9"
@@ -69,7 +70,8 @@ binding = "Exec"
6970
"selenium-manager.exe",
7071
"selenium-manager-arm64.exe",
7172
"CHANGES",
72-
"LICENSE"
73+
"LICENSE",
74+
"NOTICE",
7375
]
7476

7577
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)