ScriptCollection 3.5.100__py3-none-any.whl → 3.5.102__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ScriptCollection/ScriptCollectionCore.py +1 -1
- ScriptCollection/TasksForCommonProjectStructure.py +5 -6
- {scriptcollection-3.5.100.dist-info → scriptcollection-3.5.102.dist-info}/METADATA +2 -2
- {scriptcollection-3.5.100.dist-info → scriptcollection-3.5.102.dist-info}/RECORD +7 -7
- {scriptcollection-3.5.100.dist-info → scriptcollection-3.5.102.dist-info}/WHEEL +1 -1
- {scriptcollection-3.5.100.dist-info → scriptcollection-3.5.102.dist-info}/entry_points.txt +0 -0
- {scriptcollection-3.5.100.dist-info → scriptcollection-3.5.102.dist-info}/top_level.txt +0 -0
@@ -2286,10 +2286,10 @@ class TasksForCommonProjectStructure:
|
|
2286
2286
|
build_folder = os.path.join(codeunit_folder, "Other", "Build")
|
2287
2287
|
self.__sc.run_program("python", "Build.py", build_folder, verbosity)
|
2288
2288
|
|
2289
|
-
csproj_file = os.path.join(codeunit_folder, codeunit_name, f"{codeunit_name}.csproj")
|
2290
|
-
self.__sc.update_dependencies_of_dotnet_project(csproj_file, verbosity, ignored_dependencies)
|
2291
2289
|
test_csproj_file = os.path.join(codeunit_folder, f"{codeunit_name}Tests", f"{codeunit_name}Tests.csproj")
|
2292
2290
|
self.__sc.update_dependencies_of_dotnet_project(test_csproj_file, verbosity, ignored_dependencies)
|
2291
|
+
csproj_file = os.path.join(codeunit_folder, codeunit_name, f"{codeunit_name}.csproj")
|
2292
|
+
self.__sc.update_dependencies_of_dotnet_project(csproj_file, verbosity, ignored_dependencies)
|
2293
2293
|
|
2294
2294
|
@GeneralUtilities.check_arguments
|
2295
2295
|
def update_dependencies_of_typical_node_codeunit(self, update_script_file: str, verbosity: int, cmd_args: list[str]) -> None:
|
@@ -2894,19 +2894,18 @@ class TasksForCommonProjectStructure:
|
|
2894
2894
|
codeunit_version = self.get_version_of_codeunit_folder(codeunit_folder)
|
2895
2895
|
build_folder = os.path.join(codeunit_folder, "Other", "Build")
|
2896
2896
|
artifacts_folder = os.path.join(codeunit_folder, "Other", "Artifacts", artifact_name_of_zip)
|
2897
|
+
manifest_folder = os.path.join(codeunit_folder, "Other", "Artifacts", "WinGet-Manifest")
|
2897
2898
|
GeneralUtilities.assert_folder_exists(artifacts_folder)
|
2898
2899
|
artifacts_file = ScriptCollectionCore().find_file_by_extension(artifacts_folder, "zip")
|
2899
2900
|
winget_template_file = os.path.join(build_folder, "WinGet-Template.yaml")
|
2900
|
-
winget_manifest_file = os.path.join(
|
2901
|
+
winget_manifest_file = os.path.join(manifest_folder, "WinGet-Manifest.yaml")
|
2901
2902
|
GeneralUtilities.assert_file_exists(winget_template_file)
|
2903
|
+
GeneralUtilities.ensure_directory_exists(manifest_folder)
|
2902
2904
|
GeneralUtilities.ensure_file_exists(winget_manifest_file)
|
2903
2905
|
manifest_content = GeneralUtilities.read_text_from_file(winget_template_file)
|
2904
2906
|
manifest_content = GeneralUtilities.replace_variable_in_string(manifest_content, "version", codeunit_version)
|
2905
2907
|
manifest_content = GeneralUtilities.replace_variable_in_string(manifest_content, "sha256_hashvalue", GeneralUtilities.get_sha256_of_file(artifacts_file))
|
2906
2908
|
GeneralUtilities.write_text_to_file(winget_manifest_file, manifest_content)
|
2907
|
-
target_folder = os.path.join(codeunit_folder, "Other", "Artifacts", "WinGet-Manifest")
|
2908
|
-
GeneralUtilities.ensure_folder_exists_and_is_empty(target_folder)
|
2909
|
-
shutil.copy(winget_manifest_file, target_folder)
|
2910
2909
|
|
2911
2910
|
@GeneralUtilities.check_arguments
|
2912
2911
|
def update_year_in_license_file_in_common_scripts_file(self, common_tasks_scripts_file: str) -> None:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: ScriptCollection
|
3
|
-
Version: 3.5.
|
3
|
+
Version: 3.5.102
|
4
4
|
Summary: The ScriptCollection is the place for reusable scripts.
|
5
5
|
Home-page: https://github.com/anionDev/ScriptCollection
|
6
6
|
Author: Marius Göcke
|
@@ -41,7 +41,7 @@ Requires-Dist: PyYAML>=6.0.2
|
|
41
41
|
Requires-Dist: qrcode>=8.0
|
42
42
|
Requires-Dist: send2trash>=1.8.3
|
43
43
|
Requires-Dist: twine>=6.1.0
|
44
|
-
Requires-Dist: xmlschema>=3.4.
|
44
|
+
Requires-Dist: xmlschema>=3.4.4
|
45
45
|
|
46
46
|
# ScriptCollection
|
47
47
|
|
@@ -6,12 +6,12 @@ ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1
|
|
6
6
|
ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
|
7
7
|
ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
|
8
8
|
ScriptCollection/SCLog.py,sha256=l4aekBiGoNkKGtvO_Er3NY_K7ts4ZWtIGlhq07I-4LY,30
|
9
|
-
ScriptCollection/ScriptCollectionCore.py,sha256=
|
10
|
-
ScriptCollection/TasksForCommonProjectStructure.py,sha256=
|
9
|
+
ScriptCollection/ScriptCollectionCore.py,sha256=7ZBvCfF2lM_s8XoPur8TiVvUysD1kadcWVfrW0ioELg,123984
|
10
|
+
ScriptCollection/TasksForCommonProjectStructure.py,sha256=3k8IT1ny-C9eVbZzk7VQrOaeRNrG3l0OmOZ_o03ushQ,230181
|
11
11
|
ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
|
12
12
|
ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
-
scriptcollection-3.5.
|
14
|
-
scriptcollection-3.5.
|
15
|
-
scriptcollection-3.5.
|
16
|
-
scriptcollection-3.5.
|
17
|
-
scriptcollection-3.5.
|
13
|
+
scriptcollection-3.5.102.dist-info/METADATA,sha256=9AayQS3GIEdZw4dpGWfhXOR11tGd59K3Ek9e0YEYieE,7664
|
14
|
+
scriptcollection-3.5.102.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
15
|
+
scriptcollection-3.5.102.dist-info/entry_points.txt,sha256=fYCGWGNGijBQHhFe6UAO-BEpfEOxLyNJemukt5ElSzs,3644
|
16
|
+
scriptcollection-3.5.102.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
|
17
|
+
scriptcollection-3.5.102.dist-info/RECORD,,
|
File without changes
|
File without changes
|