ScriptCollection 3.5.29__py3-none-any.whl → 3.5.30__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.
@@ -31,7 +31,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
31
31
  from .ProgramRunnerPopen import ProgramRunnerPopen
32
32
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
33
33
 
34
- version = "3.5.29"
34
+ version = "3.5.30"
35
35
  __version__ = version
36
36
 
37
37
 
@@ -2606,6 +2606,13 @@ class TasksForCommonProjectStructure:
2606
2606
  codeunits = self.get_codeunits(repository_folder)
2607
2607
  updated_dependencies = False
2608
2608
  verbosity: int = 1 # TODO set value dynamically
2609
+ update_dependencies_script_filename = "UpdateDependencies.py"
2610
+ # update dependencies of resources
2611
+ global_scripts_folder = os.path.join(repository_folder, "Other", "Scripts")
2612
+ if os.path.isfile(os.path.join(global_scripts_folder, update_dependencies_script_filename)):
2613
+ self.__sc.run_program("python", update_dependencies_script_filename, global_scripts_folder)
2614
+
2615
+ # update dependencies of codeunits
2609
2616
  for codeunit in codeunits:
2610
2617
  codeunit_file = os.path.join(repository_folder, codeunit, f"{codeunit}.codeunit.xml")
2611
2618
  codeunit_has_updatable_dependencies = self.codeunit_has_updatable_dependencies(codeunit_file)
@@ -2613,7 +2620,7 @@ class TasksForCommonProjectStructure:
2613
2620
  codeunit_folder = os.path.join(repository_folder, codeunit)
2614
2621
  update_dependencies_script_folder = os.path.join(codeunit_folder, "Other")
2615
2622
  GeneralUtilities.ensure_directory_exists(os.path.join(update_dependencies_script_folder, "Resources", "CodeAnalysisResult"))
2616
- self.__sc.run_program("python", "UpdateDependencies.py", update_dependencies_script_folder, verbosity)
2623
+ self.__sc.run_program("python", update_dependencies_script_filename, update_dependencies_script_folder, verbosity)
2617
2624
  if self.__sc.git_repository_has_uncommitted_changes(repository_folder):
2618
2625
  updated_dependencies = True
2619
2626
  version_of_project = self.get_version_of_project(repository_folder)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ScriptCollection
3
- Version: 3.5.29
3
+ Version: 3.5.30
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
@@ -5,12 +5,12 @@ ScriptCollection/ProgramRunnerBase.py,sha256=7QAjoqOz6XPmJH19F2k-Z1fFQB_uZnPFvn-
5
5
  ScriptCollection/ProgramRunnerEpew.py,sha256=C2Rs3YWOWWWJct7XmKphp5CF1tf0j4Fp-ljV2drLTfs,6349
6
6
  ScriptCollection/ProgramRunnerPopen.py,sha256=G3LgQUVCfaq7XjBsGzalElH31Hbr0etttGR2_H87YzA,3512
7
7
  ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
8
- ScriptCollection/ScriptCollectionCore.py,sha256=hJFDTk5gJtTECbWX7m92Q63Ts95ZMN-_dh3tRypLLWs,101921
9
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=YrCDXbGUIyR_pNH70yq90fRSmIncUia_TCWwFxcY_dc,194282
8
+ ScriptCollection/ScriptCollectionCore.py,sha256=LuqrtPRjs03p3Jd34g68sZuygKm1cyRVj5moogdnOwI,101921
9
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=_9GJp7C1QOQbWDcVnwvAkxpTQlCuvHMvE5yyV3irc1s,194740
10
10
  ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
11
11
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- ScriptCollection-3.5.29.dist-info/METADATA,sha256=nYenV-RxLarp4trAzLJVDInmTv-59RNoSvWcOsL5HPE,7684
13
- ScriptCollection-3.5.29.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
14
- ScriptCollection-3.5.29.dist-info/entry_points.txt,sha256=yASwR6hWZ_b5d4W49YeX1htD8ngfWbwgjpfQiJdtUAU,2322
15
- ScriptCollection-3.5.29.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
- ScriptCollection-3.5.29.dist-info/RECORD,,
12
+ ScriptCollection-3.5.30.dist-info/METADATA,sha256=6rdPQb7iZF6B6iIjMtgYTryUTeKkzYqNnZqz_rFwSX4,7684
13
+ ScriptCollection-3.5.30.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
14
+ ScriptCollection-3.5.30.dist-info/entry_points.txt,sha256=yASwR6hWZ_b5d4W49YeX1htD8ngfWbwgjpfQiJdtUAU,2322
15
+ ScriptCollection-3.5.30.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
+ ScriptCollection-3.5.30.dist-info/RECORD,,