Skip to content

Commit b9a7814

Browse files
Fix license field deprecations
1 parent e397b6c commit b9a7814

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[project]
22
name = "tldextract"
33
authors = [{name = "John Kurkowski", email = "john.kurkowski@gmail.com"}]
4-
license = {text = "BSD-3-Clause"}
4+
license = "BSD-3-Clause"
5+
license-files = ["LICENSE"]
56
description = "Accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL). By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains as well."
67
keywords = [
78
"tld",
@@ -21,7 +22,6 @@ keywords = [
2122
classifiers = [
2223
"Development Status :: 5 - Production/Stable",
2324
"Topic :: Utilities",
24-
"License :: OSI Approved :: BSD License",
2525
"Programming Language :: Python :: 3",
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
@@ -67,15 +67,14 @@ tldextract = "tldextract.cli:main"
6767

6868
[build-system]
6969
requires = [
70-
"setuptools>=61.2",
70+
"setuptools>=77.0.3",
7171
"setuptools_scm[toml]>=6.2",
7272
]
7373
build-backend = "setuptools.build_meta"
7474

7575
[tool.setuptools]
7676
packages = ["tldextract"]
7777
include-package-data = true
78-
license-files = ["LICENSE"]
7978

8079
[tool.setuptools_scm]
8180
write_to = "tldextract/_version.py"

0 commit comments

Comments
 (0)