Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe5eb5a

Browse filesBrowse files
committed
Pass more specific license argument in setup.py
This uses "BSD-3-Clause" instead of "BSD" as the "license" metadata in setup.py. "BSD-3-Clause" is the SPDX license identifier for the BSD 3-Clause "New" or "Revised" License (the license GitPython uses): https://spdx.org/licenses/BSD-3-Clause.html There is no requirement to use an SPDX license identifier here, but it is one of the common approaches, and it has the advantage of making unambiguously clear, when a package is published on PyPI, exactly what license it uses. In contrast, the license-related *classifier* is unchanged, since no more specific classfifier than what is in use now is currently available. The combination should result in License: BSD License (BSD-3-Clause) being shown under "Meta" on PyPI, as of the next PyPI release. This can be seen in other projects that use this combination of license keyword argument and license-related classifier, such as: https://pypi.org/project/flask-restx/
1 parent 8a6546e commit fe5eb5a
Copy full SHA for fe5eb5a

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _stamp_version(filename: str) -> None:
6868
description="GitPython is a Python library used to interact with Git repositories",
6969
author="Sebastian Thiel, Michael Trier",
7070
author_email="byronimo@gmail.com, mtrier@gmail.com",
71-
license="BSD",
71+
license="BSD-3-Clause",
7272
url="https://github.com/gitpython-developers/GitPython",
7373
packages=find_packages(exclude=["test", "test.*"]),
7474
include_package_data=True,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.