ScriptCollection 4.0.40__py3-none-any.whl → 4.0.42__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.
@@ -37,7 +37,7 @@ from .ProgramRunnerPopen import ProgramRunnerPopen
37
37
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
38
38
  from .SCLog import SCLog, LogLevel
39
39
 
40
- version = "4.0.40"
40
+ version = "4.0.42"
41
41
  __version__ = version
42
42
 
43
43
 
@@ -291,7 +291,7 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
291
291
  <PropertyGroup Condition=\\\"'\\$\\(Configuration\\)'=='Productive'\\\">
292
292
  <DebugType>portable<\\/DebugType>
293
293
  <DebugSymbols>true<\\/DebugSymbols>
294
- <Optimize>true<\\/Optimize>
294
+ <Optimize>false<\\/Optimize>
295
295
  <DefineConstants>Productive<\\/DefineConstants>
296
296
  <ErrorReport>none<\\/ErrorReport>
297
297
  <\\/PropertyGroup>(\\n|.)*
@@ -355,7 +355,7 @@ class TFCPS_CodeUnitSpecific_DotNet_Functions(TFCPS_CodeUnitSpecific_Base):
355
355
  <PropertyGroup Condition=\\\"'\\$\\(Configuration\\)'=='Productive'\\\">
356
356
  <DebugType>portable<\\/DebugType>
357
357
  <DebugSymbols>true<\\/DebugSymbols>
358
- <Optimize>true<\\/Optimize>
358
+ <Optimize>false<\\/Optimize>
359
359
  <DefineConstants>Productive<\\/DefineConstants>
360
360
  <ErrorReport>none<\\/ErrorReport>
361
361
  <\\/PropertyGroup>(\\n|.)*
@@ -819,7 +819,7 @@ class TFCPS_Tools_General:
819
819
  grylibrary_dll_file = os.path.join(grylibrary_folder, "BuildResult_DotNet_win-x64", "GRYLibrary.dll")
820
820
  grylibrary_dll_file_exists = os.path.isfile(grylibrary_dll_file)
821
821
  if not os.path.isfile(grylibrary_dll_file):
822
- self.__sc.log("Download GRYLibrary to global cache...",LogLevel.Information)
822
+ self.__sc.log.log("Download GRYLibrary to global cache...",LogLevel.Information)
823
823
  grylibrary_latest_codeunit_file = "https://raw.githubusercontent.com/anionDev/GRYLibrary/stable/GRYLibrary/GRYLibrary.codeunit.xml"
824
824
  with urllib.request.urlopen(grylibrary_latest_codeunit_file) as url_result:
825
825
  grylibrary_latest_version = self.get_version_of_codeunit_filecontent(url_result.read().decode("utf-8"))
@@ -966,25 +966,18 @@ class TFCPS_Tools_General:
966
966
  def ensure_openapigenerator_is_available(self, codeunit_folder: str,use_cache:bool) -> None:
967
967
  self.assert_is_codeunit_folder(codeunit_folder)
968
968
  openapigenerator_folder = os.path.join(codeunit_folder, "Other", "Resources", "OpenAPIGenerator")
969
- internet_connection_is_available = GeneralUtilities.internet_connection_is_available()
970
969
  filename = "open-api-generator.jar"
971
970
  jar_file = f"{openapigenerator_folder}/{filename}"
972
971
  jar_file_exists = os.path.isfile(jar_file)
973
972
  update:bool=not jar_file_exists or not use_cache
974
973
  if update:
975
- if internet_connection_is_available: # Load/Update
976
- self.__sc.log("Download OpenAPIGeneratorCLI...",LogLevel.Debug)
977
- version_file = os.path.join(codeunit_folder, "Other", "Resources", "Dependencies", "OpenAPIGenerator", "Version.txt")
978
- used_version = GeneralUtilities.read_text_from_file(version_file)
979
- download_link = f"https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/{used_version}/openapi-generator-cli-{used_version}.jar"
980
- GeneralUtilities.ensure_directory_does_not_exist(openapigenerator_folder)
981
- GeneralUtilities.ensure_directory_exists(openapigenerator_folder)
982
- urllib.request.urlretrieve(download_link, jar_file)
983
- else:
984
- if jar_file_exists:
985
- self.__sc.log.log("Can not check for updates of OpenAPIGenerator due to missing internet-connection.")
986
- else:
987
- raise ValueError("Can not download OpenAPIGenerator.")
974
+ self.__sc.log.log("Download OpenAPIGeneratorCLI...",LogLevel.Debug)
975
+ version_file = os.path.join(codeunit_folder, "Other", "Resources", "Dependencies", "OpenAPIGenerator", "Version.txt")
976
+ used_version = GeneralUtilities.read_text_from_file(version_file)
977
+ download_link = f"https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/{used_version}/openapi-generator-cli-{used_version}.jar"
978
+ GeneralUtilities.ensure_directory_does_not_exist(openapigenerator_folder)
979
+ GeneralUtilities.ensure_directory_exists(openapigenerator_folder)
980
+ urllib.request.urlretrieve(download_link, jar_file)
988
981
 
989
982
  @GeneralUtilities.check_arguments
990
983
  def standardized_tasks_update_version_in_docker_examples(self, codeunit_folder:str, codeunit_version:str) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ScriptCollection
3
- Version: 4.0.40
3
+ Version: 4.0.42
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
@@ -9,7 +9,7 @@ ScriptCollection/ProgramRunnerEpew.py,sha256=TJdDx9zIMSiCaXh8X-ekrMlbXfGtmd0Mmyx
9
9
  ScriptCollection/ProgramRunnerMock.py,sha256=uTu-aFle1W_oKjeQEmuPsFPQpvo0kRf2FrRjAPIwT5Y,37
10
10
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
11
11
  ScriptCollection/SCLog.py,sha256=dxGOI4E9lG5v9jk_LajXCkM5nghliCDV8YB8Ihn160s,4541
12
- ScriptCollection/ScriptCollectionCore.py,sha256=C0Em7Srf_-HOWBvuVJf1mbzMQw7VSy2HFc-Zn4N1IBI,141223
12
+ ScriptCollection/ScriptCollectionCore.py,sha256=AAOs9aHt-Wiq5ANkwmJ1Wd06O7zkgjRnpJGtVuW6TYI,141223
13
13
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  ScriptCollection/TFCPS/TFCPS_CodeUnitSpecific_Base.py,sha256=E7QtV1y5ZUFPO3Jfn04__KBRwOlOisB3Z0ByvMwc0rA,25853
15
15
  ScriptCollection/TFCPS/TFCPS_CodeUnit_BuildCodeUnit.py,sha256=4rYKgTAga11NiDx8YUqz3K_Q4eX_n3kC6lvNdXEa24s,7389
@@ -20,14 +20,14 @@ ScriptCollection/TFCPS/TFCPS_MergeToMain.py,sha256=41g219jaBRZ2VQCrWM4-Trvervrt8
20
20
  ScriptCollection/TFCPS/TFCPS_MergeToStable.py,sha256=ifB1K6A903vvfH0LvtiFbZgYSgR94thfEI-jjf40LpU,21653
21
21
  ScriptCollection/TFCPS/TFCPS_PreBuildCodeunitsScript.py,sha256=CxdwUklhZVuJGp0vcokoH_KMXFzmlUlZwj77xFYijho,2242
22
22
  ScriptCollection/TFCPS/TFCPS_Tools_Dependencies.py,sha256=o7HI3ki3WWqlAiUsrh3Lky_w6UhYh9hdjYPGOhubQGA,414
23
- ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=cRPJqw5sC1hQbGI-hoDPGC5BLf3ngnRGn_sOYc6C5hA,72994
23
+ ScriptCollection/TFCPS/TFCPS_Tools_General.py,sha256=rG54XGperjNVIszLWa024_y3nwzmvxJIVKJKvHTOS8o,72541
24
24
  ScriptCollection/TFCPS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  ScriptCollection/TFCPS/Docker/TFCPS_CodeUnitSpecific_Docker.py,sha256=-g8h2gCf9rh0KJXUBeQD5d0qLJgBU3Q8DNZXM1UXC04,5259
26
26
  ScriptCollection/TFCPS/Docker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationBase.py,sha256=bT6Gd5pQpZCw4OQz6HWkPCSn5z__eUUEisABLDSxd0o,200
28
28
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationGenerate.py,sha256=QyjOfMY22JWCvKjMelHiDWbJiWqotOfebpJpgDUaoO4,237
29
29
  ScriptCollection/TFCPS/DotNet/CertificateGeneratorInformationNoGenerate.py,sha256=i0zEGehj0sttxjjZtoq2KFSKp_ulxVyWp_ZgAhIY_So,241
30
- ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=S1LPpQf_F3yLpNPuwMdYqm_Ns8nad6czJmfdohFVsE4,30999
30
+ ScriptCollection/TFCPS/DotNet/TFCPS_CodeUnitSpecific_DotNet.py,sha256=myR8hG2RMGg59S6Rf0Ts7R7df2IIVFDkazu4XSmSvrA,31001
31
31
  ScriptCollection/TFCPS/DotNet/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  ScriptCollection/TFCPS/Flutter/TFCPS_CodeUnitSpecific_Flutter.py,sha256=6g1xZ6_Nnr0Xa2VvSEtMg0H1hjUCvjzXXaPHFJ2xD1o,1626
33
33
  ScriptCollection/TFCPS/Flutter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -35,8 +35,8 @@ ScriptCollection/TFCPS/NodeJS/TFCPS_CodeUnitSpecific_NodeJS.py,sha256=dnuDlQXThF
35
35
  ScriptCollection/TFCPS/NodeJS/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
36
  ScriptCollection/TFCPS/Python/TFCPS_CodeUnitSpecific_Python.py,sha256=q7msAxCb5VIZ-xhFg1MfzUvWomQRKYldqmW42KFhyMU,6868
37
37
  ScriptCollection/TFCPS/Python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- scriptcollection-4.0.40.dist-info/METADATA,sha256=19q2n1a_anZYXTHeu8hGCmWSOTQRZ0ykarYQx7oMmRY,7688
39
- scriptcollection-4.0.40.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- scriptcollection-4.0.40.dist-info/entry_points.txt,sha256=NeU26D6q7d8n2cmKQiOvHK21w1C7D2kxoNRJaKiyZ5w,4295
41
- scriptcollection-4.0.40.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
42
- scriptcollection-4.0.40.dist-info/RECORD,,
38
+ scriptcollection-4.0.42.dist-info/METADATA,sha256=kh_TAqqZMV_maUDbD49VwhRkaTZo95zZWLAYAioznrE,7688
39
+ scriptcollection-4.0.42.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ scriptcollection-4.0.42.dist-info/entry_points.txt,sha256=NeU26D6q7d8n2cmKQiOvHK21w1C7D2kxoNRJaKiyZ5w,4295
41
+ scriptcollection-4.0.42.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
42
+ scriptcollection-4.0.42.dist-info/RECORD,,