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/**/*
78
78
! py /docs /source /conf.py
79
79
! py /docs /source /* .rst
80
80
py /build /
81
- py /LICENSE
82
81
py /pytestdebug.log
83
82
py /python.iml
84
83
selenium.egg-info /
Original file line number Diff line number Diff line change @@ -196,6 +196,24 @@ copy_file(
196
196
out = "selenium-%s.dist-info/LICENSE" % SE_VERSION ,
197
197
)
198
198
199
+ select_file (
200
+ name = "global-notice" ,
201
+ srcs = "//:license" ,
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
+
199
217
py_library (
200
218
name = "selenium" ,
201
219
srcs = glob (
@@ -251,6 +269,7 @@ pkg_files(
251
269
"README.rst" ,
252
270
"pyproject.toml" ,
253
271
":license" ,
272
+ ":notice" ,
254
273
":selenium-pkg" ,
255
274
":selenium-pkginfo" ,
256
275
"//rust:selenium_manager_srcs" ,
@@ -304,7 +323,7 @@ py_wheel(
304
323
description_file = "README.rst" ,
305
324
distribution = "selenium" ,
306
325
homepage = "https://www.selenium.dev" ,
307
- license = "Apache 2.0" ,
326
+ license = "Apache- 2.0" ,
308
327
python_requires = ">=3.9" ,
309
328
python_tag = "py3" ,
310
329
requires = [
@@ -326,6 +345,7 @@ py_wheel(
326
345
visibility = ["//visibility:public" ],
327
346
deps = [
328
347
":license-wheel" ,
348
+ ":notice-wheel" ,
329
349
":selenium-pkg" ,
330
350
],
331
351
)
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"
5
5
[project ]
6
6
name = " selenium"
7
7
version = " 4.35.0.202507081456"
8
- license = { text = " Apache 2.0" }
8
+ license = " Apache-2.0"
9
+ license-files = [" LICENSE" , " NOTICE" ]
9
10
description = " Official Python bindings for Selenium WebDriver."
10
11
readme = " README.rst"
11
12
requires-python = " ~=3.9"
@@ -67,7 +68,8 @@ binding = "Exec"
67
68
" selenium-manager" ,
68
69
" selenium-manager.exe" ,
69
70
" CHANGES" ,
70
- " LICENSE"
71
+ " LICENSE" ,
72
+ " NOTICE" ,
71
73
]
72
74
73
75
[tool .pytest .ini_options ]
You can’t perform that action at this time.
0 commit comments