ScriptCollection 3.5.73__py3-none-any.whl → 3.5.74__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.
@@ -535,7 +535,7 @@ def Copy() -> int:
535
535
  parser.add_argument('-t', '--target', required=True)
536
536
  args = parser.parse_args()
537
537
 
538
- if not (os.path.isfile(args.target) or os.path.isdir(args.target)):
538
+ if os.path.isfile(args.target) or os.path.isdir(args.target):
539
539
  raise ValueError(f"Can not copy to '{args.target}' because the target already exists.")
540
540
 
541
541
  source=args.source
@@ -32,7 +32,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
32
32
  from .ProgramRunnerPopen import ProgramRunnerPopen
33
33
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
34
34
 
35
- version = "3.5.73"
35
+ version = "3.5.74"
36
36
  __version__ = version
37
37
 
38
38
 
@@ -720,7 +720,7 @@ class ScriptCollectionCore:
720
720
  def copy(self, source:str,target:str) ->None:
721
721
  """This function works platform-independent also for non-local-executions if the ScriptCollection commandline-commands are available as global command on the target-system."""
722
722
  if self.program_runner.will_be_executed_locally(): # works only locally, but much more performant than always running an external program
723
- if not (os.path.isfile(target) or os.path.isdir(target)):
723
+ if os.path.isfile(target) or os.path.isdir(target):
724
724
  raise ValueError(f"Can not copy to '{target}' because the target already exists.")
725
725
  if os.path.isfile(source):
726
726
  shutil.copyfile(source, target)
@@ -2176,7 +2176,7 @@ class TasksForCommonProjectStructure:
2176
2176
  @GeneralUtilities.check_arguments
2177
2177
  def add_github_release(self, productname: str, projectversion: str, build_artifacts_folder: str, github_username: str, repository_folder: str, commandline_arguments: list[str]) -> None:
2178
2178
  self.__sc.assert_is_git_repository(repository_folder)
2179
- GeneralUtilities.write_message_to_stdout(f"Create GitHub-release for {productname}.")
2179
+ GeneralUtilities.write_message_to_stdout(f"Create GitHub-release for {productname}...")
2180
2180
  verbosity = TasksForCommonProjectStructure.get_verbosity_from_commandline_arguments(commandline_arguments, 1)
2181
2181
  github_repo = f"{github_username}/{productname}"
2182
2182
  artifact_files = []
@@ -3062,7 +3062,7 @@ class TasksForCommonProjectStructure:
3062
3062
 
3063
3063
  @GeneralUtilities.check_arguments
3064
3064
  def update_http_documentation(self, update_http_documentation_arguments: UpdateHTTPDocumentationArguments):
3065
- GeneralUtilities.write_message_to_stdout(f"Update HTTP-documentation for for {update_http_documentation_arguments.product_name}.")
3065
+ GeneralUtilities.write_message_to_stdout(f"Update HTTP-documentation for for {update_http_documentation_arguments.product_name}...")
3066
3066
  folder_of_this_file = str(os.path.dirname(update_http_documentation_arguments.current_file))
3067
3067
 
3068
3068
  ref_repo = GeneralUtilities.resolve_relative_path(f"../../Submodules/{update_http_documentation_arguments.reference_repository_name}", folder_of_this_file)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ScriptCollection
3
- Version: 3.5.73
3
+ Version: 3.5.74
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
@@ -1,16 +1,16 @@
1
- ScriptCollection/Executables.py,sha256=r9dcUehrHVd7gQ2yEOy6QqDz8yOO8Qjp8vzszSUqBls,30022
1
+ ScriptCollection/Executables.py,sha256=zxDRhv6UHzP0F9lFQvfPv8twy27BEA0-jIMvZfcZTb4,30016
2
2
  ScriptCollection/GeneralUtilities.py,sha256=WSBawT958x_0H-hnPg3S3DGzP3KOQTADtZtP145I-M4,39473
3
3
  ScriptCollection/ProcessesRunner.py,sha256=3mu4ZxzZleQo0Op6o9EYTCFiJfb6kx5ov2YfZfT89mU,1395
4
4
  ScriptCollection/ProgramRunnerBase.py,sha256=2kMIAqdc65UjBAddOZkzy_aFx9h5roZ5a4bQNM6RV6Y,2480
5
5
  ScriptCollection/ProgramRunnerEpew.py,sha256=4pjEd0r9Fcz3TTDv0MdTSd5KkigYXcWUVI1X43regfU,6477
6
6
  ScriptCollection/ProgramRunnerPopen.py,sha256=BPY7-ZMIlqT7JOKz8qlB5c0laF2Js-ijzqk09GxZC48,3821
7
7
  ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
8
- ScriptCollection/ScriptCollectionCore.py,sha256=IXyCZCXadGz-g-m2FqKUJBOziJE-YYxxrqTRwN8u5X8,118620
9
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=MGkpPFaFwEuADbgHWu_0nQBKhHYnarret895LgbGTeI,215343
8
+ ScriptCollection/ScriptCollectionCore.py,sha256=LOm3hvX572Kbk7SL2FQSAvxUYBM2WezliFc6cI0PxEA,118614
9
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=n3x4XRyjabsL0SuMGZz3LJiq5ctjz7mMAS77QoAJFP8,215347
10
10
  ScriptCollection/UpdateCertificates.py,sha256=Eynbgu7k9jLxApP2D_8Il77B6BFjJap6K7oTeEAZYbk,7790
11
11
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- ScriptCollection-3.5.73.dist-info/METADATA,sha256=MX0B33z4eIktZBU1HIE-L4oJJF3vVqME4yO269dtT0o,7664
13
- ScriptCollection-3.5.73.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
14
- ScriptCollection-3.5.73.dist-info/entry_points.txt,sha256=1jAL5AuB8mvdw2v-6E7wCZFThurQxchiQynL8DCi-Yg,3545
15
- ScriptCollection-3.5.73.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
- ScriptCollection-3.5.73.dist-info/RECORD,,
12
+ ScriptCollection-3.5.74.dist-info/METADATA,sha256=tgYQrE5dKbrbv9Gz7_9pHYBhZlwFNuYo-iyDpCN-r14,7664
13
+ ScriptCollection-3.5.74.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
14
+ ScriptCollection-3.5.74.dist-info/entry_points.txt,sha256=1jAL5AuB8mvdw2v-6E7wCZFThurQxchiQynL8DCi-Yg,3545
15
+ ScriptCollection-3.5.74.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
+ ScriptCollection-3.5.74.dist-info/RECORD,,