File tree Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Expand file tree Collapse file tree 3 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ py/docs/source/**/*
7979! py /docs /source /* .rst
8080py /build /
8181py /LICENSE
82+ py /NOTICE
8283py /pytestdebug.log
8384py /python.iml
8485selenium.egg-info /
Original file line number Diff line number Diff line change @@ -196,6 +196,24 @@ copy_file(
196196 out = "selenium-%s.dist-info/LICENSE" % SE_VERSION ,
197197)
198198
199+ select_file (
200+ name = "global-notice" ,
201+ srcs = "//:notice" ,
202+ subpath = "NOTICE" ,
203+ )
204+
205+ copy_file (
206+ name = "notice" ,
207+ src = ":global-notice" ,
208+ out = "NOTICE" ,
209+ )
210+
211+ copy_file (
212+ name = "notice-wheel" ,
213+ src = ":global-notice" ,
214+ out = "selenium-%s.dist-info/NOTICE" % SE_VERSION ,
215+ )
216+
199217py_library (
200218 name = "selenium" ,
201219 srcs = glob (
@@ -251,6 +269,7 @@ pkg_files(
251269 "README.rst" ,
252270 "pyproject.toml" ,
253271 ":license" ,
272+ ":notice" ,
254273 ":selenium-pkg" ,
255274 ":selenium-pkginfo" ,
256275 "//rust:selenium_manager_srcs" ,
@@ -304,7 +323,7 @@ py_wheel(
304323 description_file = "README.rst" ,
305324 distribution = "selenium" ,
306325 homepage = "https://www.selenium.dev" ,
307- license = "Apache 2.0" ,
326+ license = "Apache- 2.0" ,
308327 python_requires = ">=3.9" ,
309328 python_tag = "py3" ,
310329 requires = [
@@ -326,6 +345,7 @@ py_wheel(
326345 visibility = ["//visibility:public" ],
327346 deps = [
328347 ":license-wheel" ,
348+ ":notice-wheel" ,
329349 ":selenium-pkg" ,
330350 ],
331351)
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" ]
910description = " Official Python bindings for Selenium WebDriver."
1011readme = " README.rst"
1112requires-python = " ~=3.9"
@@ -68,6 +69,7 @@ binding = "Exec"
6869 " selenium-manager.exe" ,
6970 " CHANGES" ,
7071 " LICENSE"
72+ "NOTICE"
7173]
7274
7375[tool .pytest .ini_options ]
You can’t perform that action at this time.
0 commit comments