ScriptCollection 3.4.38__py3-none-any.whl → 3.4.39__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.
@@ -27,7 +27,7 @@ from .ProgramRunnerPopen import ProgramRunnerPopen
27
27
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
28
28
 
29
29
 
30
- version = "3.4.38"
30
+ version = "3.4.39"
31
31
  __version__ = version
32
32
 
33
33
 
@@ -1578,6 +1578,7 @@ class TasksForCommonProjectStructure:
1578
1578
  self.set_constant_for_commitdate(codeunit_folder)
1579
1579
  self.set_constant_for_commitname(codeunit_folder)
1580
1580
  self.set_constant_for_commitversion(codeunit_folder)
1581
+ self.set_constant_for_description(codeunit_folder)
1581
1582
 
1582
1583
  @GeneralUtilities.check_arguments
1583
1584
  def set_constant_for_commitid(self, codeunit_folder: str) -> None:
@@ -1599,6 +1600,12 @@ class TasksForCommonProjectStructure:
1599
1600
  codeunit_version: str = self.get_version_of_codeunit_folder(codeunit_folder)
1600
1601
  self.set_constant(codeunit_folder, "CodeUnitVersion", codeunit_version)
1601
1602
 
1603
+ @GeneralUtilities.check_arguments
1604
+ def set_constant_for_description(self, codeunit_folder: str) -> None:
1605
+ codeunit_name: str = os.path.basename(codeunit_folder)
1606
+ codeunit_description: str = self.get_codeunit_description(f"{codeunit_folder}/{codeunit_name}.codeunit.xml")
1607
+ self.set_constant(codeunit_folder, "CodeUnitDescription", codeunit_description)
1608
+
1602
1609
  @GeneralUtilities.check_arguments
1603
1610
  def set_constant(self, codeunit_folder: str, constantname: str, constant_value: str, documentationsummary: str = None, constants_valuefile: str = None) -> None:
1604
1611
  if documentationsummary is None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ScriptCollection
3
- Version: 3.4.38
3
+ Version: 3.4.39
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
@@ -3,12 +3,12 @@ ScriptCollection/GeneralUtilities.py,sha256=t91Z5spUMt7H_BdfMJMbEx_nJApJmLZsqozl
3
3
  ScriptCollection/ProgramRunnerBase.py,sha256=2kyOuoM3oFjBfLc9Q5t5RTz7Ya2CjUxFtB1rBBDmnjU,1937
4
4
  ScriptCollection/ProgramRunnerEpew.py,sha256=nIzY4dG6W-xEpkeoTbozwNZtFSIo-bU_W6t6u1AZKtE,6275
5
5
  ScriptCollection/ProgramRunnerPopen.py,sha256=veDNRg2Z0u0vd4iKWAycVFKbTm_uWYfuK6NTiwlbgrM,3230
6
- ScriptCollection/ScriptCollectionCore.py,sha256=P26Jqzw2LUrf4kwlwvtcdkd0Ki9t1Q_D6JpXdcuhHl8,94258
7
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=mmSl59TMPq-sVrs6zqDnA2iYGMzYtwwitKPEAtu8ToY,158840
6
+ ScriptCollection/ScriptCollectionCore.py,sha256=4EJ_FrqHydFVGIICyqKFkiHiIDHtFCVIIHlHDUqAH9I,94258
7
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=FVwl-iOmDhSj2bSRDgcLi1B_9JkfsPHTXFEG1f8QT4o,159287
8
8
  ScriptCollection/UpdateCertificates.py,sha256=Go-JJK-YTi7aBB1phlLxypa8GHkmFHBEPB0_TT9G-bw,7918
9
9
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
- ScriptCollection-3.4.38.dist-info/METADATA,sha256=ZR3FonfRXzhhdIN3roXFYMF7h00fCTaSL7Aip732HC8,7611
11
- ScriptCollection-3.4.38.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
12
- ScriptCollection-3.4.38.dist-info/entry_points.txt,sha256=dJKdWcH41owxlKx_khj4P7DItr9lhxWP9JU2Dq8GSsQ,2088
13
- ScriptCollection-3.4.38.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
14
- ScriptCollection-3.4.38.dist-info/RECORD,,
10
+ ScriptCollection-3.4.39.dist-info/METADATA,sha256=pUktf9zlETzrjLeTA3N2tkHYSeunDi516hcBY9rd_as,7611
11
+ ScriptCollection-3.4.39.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
12
+ ScriptCollection-3.4.39.dist-info/entry_points.txt,sha256=dJKdWcH41owxlKx_khj4P7DItr9lhxWP9JU2Dq8GSsQ,2088
13
+ ScriptCollection-3.4.39.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
14
+ ScriptCollection-3.4.39.dist-info/RECORD,,