ScriptCollection 3.5.128__py3-none-any.whl → 3.5.129__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.
@@ -33,7 +33,7 @@ from .ProgramRunnerPopen import ProgramRunnerPopen
33
33
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
34
34
  from .SCLog import SCLog, LogLevel
35
35
 
36
- version = "3.5.128"
36
+ version = "3.5.129"
37
37
  __version__ = version
38
38
 
39
39
 
@@ -20,6 +20,7 @@ from OpenSSL import crypto
20
20
  from lxml import etree
21
21
  from .GeneralUtilities import GeneralUtilities
22
22
  from .ScriptCollectionCore import ScriptCollectionCore
23
+ from .SCLog import SCLog, LogLevel
23
24
  from .ProgramRunnerEpew import ProgramRunnerEpew
24
25
 
25
26
 
@@ -113,6 +114,14 @@ class TasksForCommonProjectStructure:
113
114
  validate_developers_of_repository: bool = True
114
115
  dotnet_runsettings_file = "runsettings.xml"
115
116
 
117
+ def __init__(self, sc: ScriptCollectionCore = None):
118
+ if sc is None:
119
+ log: SCLog = SCLog()
120
+ log.loglevel = LogLevel.Information
121
+ sc = ScriptCollectionCore()
122
+ sc.log = log
123
+ self.__sc = sc
124
+
116
125
  @GeneralUtilities.check_arguments
117
126
  def assert_is_codeunit_folder(self, codeunit_folder: str) -> str:
118
127
  repo_folder = GeneralUtilities.resolve_relative_path("..", codeunit_folder)
@@ -138,11 +147,6 @@ class TasksForCommonProjectStructure:
138
147
  def get_productive_environment_name() -> str:
139
148
  return "Productive"
140
149
 
141
- def __init__(self, sc: ScriptCollectionCore = None):
142
- if sc is None:
143
- sc = ScriptCollectionCore()
144
- self.__sc = sc
145
-
146
150
  @GeneralUtilities.check_arguments
147
151
  def get_build_folder(self, repository_folder: str, codeunit_name: str) -> str:
148
152
  self.__sc.assert_is_git_repository(repository_folder)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ScriptCollection
3
- Version: 3.5.128
3
+ Version: 3.5.129
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
@@ -7,11 +7,11 @@ ScriptCollection/ProgramRunnerBase.py,sha256=2kMIAqdc65UjBAddOZkzy_aFx9h5roZ5a4b
7
7
  ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1X43regfU,6477
8
8
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
9
9
  ScriptCollection/SCLog.py,sha256=2oWISBU4RhAWBPtsM_nPWiOJ6UZEY1T4O9iXtjhRZ24,3685
10
- ScriptCollection/ScriptCollectionCore.py,sha256=6g5w7VfdeGgIXiwRugmNmjRXARvoEowkqmgqb6VRaMM,128521
11
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=R3jy7P_LcqiY1vGruZW6VYupaNlWKXtBFE5pVGRVC4Y,235370
10
+ ScriptCollection/ScriptCollectionCore.py,sha256=fnE_EMbnV9_4bTT_TrKSw4Dk3cdIbsX44dKRE9MlCvw,128521
11
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=YdlVfTnVeAuYFqqqgXaf1gw2LtY0OO9cnrOXFQaRXYE,235511
12
12
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
- scriptcollection-3.5.128.dist-info/METADATA,sha256=lZtKIGjNKCvZ7ldarNKzXmKrQqJVCW4YUbbRcrDfHqs,7694
14
- scriptcollection-3.5.128.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
15
- scriptcollection-3.5.128.dist-info/entry_points.txt,sha256=3qMbfZEMhc_VTJj-bcLwB8AWcn9iXSB3l0AWpuu52Bs,3689
16
- scriptcollection-3.5.128.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
17
- scriptcollection-3.5.128.dist-info/RECORD,,
13
+ scriptcollection-3.5.129.dist-info/METADATA,sha256=Fv8g2ahqWR9mTE93u-6F_PqjsJWf08IVBygZEKWkxmE,7694
14
+ scriptcollection-3.5.129.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
15
+ scriptcollection-3.5.129.dist-info/entry_points.txt,sha256=3qMbfZEMhc_VTJj-bcLwB8AWcn9iXSB3l0AWpuu52Bs,3689
16
+ scriptcollection-3.5.129.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
17
+ scriptcollection-3.5.129.dist-info/RECORD,,