Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-02-11 06:30:11 +0300
committerCampbell Barton <campbell@blender.org>2022-02-11 06:30:21 +0300
commitf7bbec290dc750cb146408c6e9098673f34c29c3 (patch)
tree9fbf8641a99eba0101572ba553c873d518a65531 /build_files/utils
parent1df8a5f8fb68f7cfcf46901c0fdaaf96a5d57f14 (diff)
File headers: add license to Python scripts
Diffstat (limited to 'build_files/utils')
-rwxr-xr-xbuild_files/utils/make_source_archive.py1
-rwxr-xr-xbuild_files/utils/make_test.py7
-rwxr-xr-xbuild_files/utils/make_update.py15
-rwxr-xr-xbuild_files/utils/make_utils.py7
4 files changed, 20 insertions, 10 deletions
diff --git a/build_files/utils/make_source_archive.py b/build_files/utils/make_source_archive.py
index 2ef6dccd5be..e06be9d5ba7 100755
--- a/build_files/utils/make_source_archive.py
+++ b/build_files/utils/make_source_archive.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: GPL-2.0-or-later
import argparse
import dataclasses
diff --git a/build_files/utils/make_test.py b/build_files/utils/make_test.py
index 7f15195f8f9..8e711d5e33a 100755
--- a/build_files/utils/make_test.py
+++ b/build_files/utils/make_test.py
@@ -1,6 +1,9 @@
#!/usr/bin/env python3
-#
-# "make test" for all platforms, running automated tests.
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+"""
+"make test" for all platforms, running automated tests.
+"""
import argparse
import os
diff --git a/build_files/utils/make_update.py b/build_files/utils/make_update.py
index 30ef090efbb..3701913bd5d 100755
--- a/build_files/utils/make_update.py
+++ b/build_files/utils/make_update.py
@@ -1,10 +1,13 @@
#!/usr/bin/env python3
-#
-# "make update" for all platforms, updating svn libraries and tests and Blender
-# git repository and submodules.
-#
-# For release branches, this will check out the appropriate branches of
-# submodules and libraries.
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+"""
+"make update" for all platforms, updating svn libraries and tests and Blender
+git repository and sub-modules.
+
+For release branches, this will check out the appropriate branches of
+sub-modules and libraries.
+"""
import argparse
import os
diff --git a/build_files/utils/make_utils.py b/build_files/utils/make_utils.py
index 9def0059ceb..b1aab93d698 100755
--- a/build_files/utils/make_utils.py
+++ b/build_files/utils/make_utils.py
@@ -1,6 +1,9 @@
#!/usr/bin/env python3
-#
-# Utility functions for make update and make tests.
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+"""
+Utility functions for make update and make tests.
+"""
import re
import shutil