File tree Expand file tree Collapse file tree 5 files changed +27
-4
lines changed Expand file tree Collapse file tree 5 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ py/docs/source/**/*
7878! py /docs /source /conf.py
7979! py /docs /source /* .rst
8080py /build /
81- py /LICENSE
8281py /pytestdebug.log
8382py /python.iml
8483selenium.egg-info /
Original file line number Diff line number Diff 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+
211229py_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)
Original file line number Diff line number Diff line change 1+ ../LICENSE
Original file line number Diff line number Diff line change 1+ ../NOTICE
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ build-backend = "setuptools.build_meta"
55[project ]
66name = " selenium"
77version = " 4.35.0.202507081456"
8- license = { text = " Apache 2.0" }
8+ license = " Apache-2.0"
9+ license-files = [" LICENSE" , " NOTICE" ]
910description = " Official Python bindings for Selenium WebDriver."
1011readme = " README.rst"
1112requires-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 ]
You can’t perform that action at this time.
0 commit comments