Skip to content

Commit 66e9253

Browse files
henryiiilwasser
authored andcommitted
fix: incorrect license specification
1 parent 7f42f41 commit 66e9253

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

package-structure-code/pyproject-toml-python-package-metadata.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,19 @@ build-backend = "pdm.backend"
4444
[project]
4545
name = "examplePy"
4646
authors = [
47-
{name = "Some Maintainer", email = "some-email@pyopensci.org"}
47+
{name = "Some Maintainer", email = "some-email@pyopensci.org"},
48+
]
49+
maintainers = [
50+
{name = "All the contributors"},
4851
]
49-
maintainers = [{name = "All the contributors"}]
50-
license = {text = "BSD 3-Clause"}
5152
description = "An example Python package used to support Python packaging tutorials"
5253
keywords = ["pyOpenSci", "python packaging"]
5354
readme = "README.md"
54-
55+
classifiers = [
56+
"Programming Language :: Python :: 3",
57+
"License :: OSI Approved :: BSD License",
58+
"Operating System :: OS Independent",
59+
]
5560
dependencies = [
5661
"dependency-package-name-1",
5762
"dependency-package-name-2",
@@ -85,14 +90,19 @@ build-backend = "setuptools.build_meta"
8590
[project]
8691
name = "examplePy"
8792
authors = [
88-
{name = "Some Maintainer", email = "some-email@pyopensci.org"}
93+
{name = "Some Maintainer", email = "some-email@pyopensci.org"},
94+
]
95+
maintainers = [
96+
{name = "All the contributors"},
8997
]
90-
maintainers = [{name = "All the contributors"}]
91-
license = {text = "BSD 3-Clause"}
9298
description = "An example Python package used to support Python packaging tutorials"
9399
keywords = ["pyOpenSci", "python packaging"]
94100
readme = "README.md"
95-
101+
classifiers = [
102+
"Programming Language :: Python :: 3",
103+
"License :: OSI Approved :: BSD License",
104+
"Operating System :: OS Independent",
105+
]
96106
dependencies = [
97107
"dependency-package-name-1",
98108
"dependency-package-name-2",

0 commit comments

Comments
 (0)