@@ -1,3 +1,6 @@
+# SPDX-FileCopyrightText: 2023 Stefano Babic <sbabic@denx.de>
+#
+# SPDX-License-Identifier: GPL-2.0-only
from setuptools import setup, find_packages
setup(
@@ -5,7 +8,7 @@ setup(
version='0.1',
packages=find_packages(),
url='https://github.com/sbabic/swupdate/tree/master/tools/python/swupdateclient',
- license='GPLv3',
+ license='GPL-2.0-only',
author='Stefano Babic',
author_email='stefano.babic@swupdate.org',
description='Python Client to update SWUpdate based devices',
@@ -1,6 +1,6 @@
# Copyright (C) 2022 Stefano Babic
#
-# SPDX-License-Identifier: GPLv3
+# SPDX-License-Identifier: GPL-2.0-only
__all__ = [
"__title__",
@@ -23,4 +23,4 @@ __author__ = "Stefano Babic"
__email__ = "stefano.babic@swupdate.org"
__license__ = "GPL version 3"
-__copyright__ = f"Copyright 2023 {__author__}"
\ No newline at end of file
+__copyright__ = f"Copyright 2023 {__author__}"
Add SPDX to python tools and fix license to GPL-2.0-only as the rest of the project. Signed-off-by: Stefano Babic <sbabic@denx.de> --- tools/python/swupdateclient/setup.py | 5 ++++- tools/python/swupdateclient/swupdateclient/__about__.py | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-)