mastapy 14.0.3__py3-none-any.whl → 14.0.3.post1__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.
@@ -629,6 +629,14 @@ def _init_runtime_setup(environment_summary: EnvironmentSummary) -> DllPaths:
629
629
  clr_loader_path = os.path.join(
630
630
  environment_summary.dll_directory, clr_loader_dll
631
631
  )
632
+
633
+ if (
634
+ not os.path.exists(clr_loader_path)
635
+ and environment_summary.dotnet_version is DotNetVersion.NET462
636
+ ):
637
+ raise MastaInitException(
638
+ f"Failed to load CLR loader at path '{clr_loader_path}'."
639
+ ) from None
632
640
  else:
633
641
  if environment_summary.operating_system is OperatingSystem.LINUX:
634
642
  raise MastaInitException(
@@ -654,14 +662,6 @@ def _init_runtime_setup(environment_summary: EnvironmentSummary) -> DllPaths:
654
662
  f"'{python_runtime_path}'."
655
663
  )
656
664
 
657
- if (
658
- environment_summary.dotnet_version is DotNetVersion.NET462
659
- and not os.path.exists(clr_loader_path)
660
- ):
661
- raise MastaInitException(
662
- f"Failed to load CLR loader at path '{clr_loader_path}'."
663
- )
664
-
665
665
  return DllPaths(python_runtime_path, clr_loader_path)
666
666
 
667
667
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mastapy
3
- Version: 14.0.3
3
+ Version: 14.0.3.post1
4
4
  Summary: Python scripting API for MASTA.
5
5
  Home-page: https://www.smartmt.com/
6
6
  License: MIT
@@ -19,8 +19,8 @@ Classifier: Programming Language :: Python :: 3.8
19
19
  Classifier: Programming Language :: Python :: 3.9
20
20
  Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Programming Language :: Python :: 3.11
22
- Classifier: Programming Language :: Python :: 3 :: Only
23
22
  Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3 :: Only
24
24
  Requires-Dist: lazy-imports (>=0.3.1)
25
25
  Requires-Dist: numpy (<1.22.0) ; python_version < "3.8"
26
26
  Requires-Dist: numpy (>=1.22.0) ; python_version >= "3.8" and python_version < "3.12"
@@ -20,7 +20,7 @@ mastapy/_private/_internal/class_property.py,sha256=ZD6spv6ZAldWcsK1ybpbid5P45I-
20
20
  mastapy/_private/_internal/constructor.py,sha256=-lBU9_ER5iZ5eUXA_lkSQ9SFppf79ZeWm82vBvXhwQc,1528
21
21
  mastapy/_private/_internal/constructor_map.py,sha256=ZZ7mS_Svsyxs3VaFgeGcDm2A2bIqXONA7pmpm84R6LQ,3165169
22
22
  mastapy/_private/_internal/conversion.py,sha256=LjrMAv52IrU5O2exLExNw19ufnimbx3v5EmsA0WhTic,21167
23
- mastapy/_private/_internal/core.py,sha256=iMtj9FXrnlN_YcXJ9i02QFwyOMPYOJXbOpvJvWtBRyU,29300
23
+ mastapy/_private/_internal/core.py,sha256=A-XmBh1Q0WZI2sut4gm_uEKkt5OTksDz8DdQ4WGdOBs,29338
24
24
  mastapy/_private/_internal/custom_warnings.py,sha256=8WvWCThKhvqs1WKIoiHnqWXP7FV1ieuKGBBybUF96p4,222
25
25
  mastapy/_private/_internal/dataclasses.py,sha256=86uR6gfYQSxZliLjaWF5VvbyBWzw9ojKLYSo2WdD0IY,3198
26
26
  mastapy/_private/_internal/deprecation.py,sha256=riT97SpMPLzIdlQNml22U4PT3DQMcg6cc5A61Weed30,1786
@@ -8531,6 +8531,6 @@ mastapy/utility/vectors/__init__.py,sha256=2XFhyUryqZpVjcHhvYEigGaKfICXJd37FfTkB
8531
8531
  mastapy/utility_gui/__init__.py,sha256=v6OAKArsJ5ue2TINSFc-UduFN8-4do6SsAbR4mR1p0k,1161
8532
8532
  mastapy/utility_gui/charts/__init__.py,sha256=3AYFPMp_fr3ZkvAbp4dskI1Lnr2ZlU7fGkkfDYJMSos,3256
8533
8533
  mastapy/utility_gui/databases/__init__.py,sha256=QAeN2WiAos8d8i9szRU5SQv2mGB5YqG80OG6q3LbdDE,553
8534
- mastapy-14.0.3.dist-info/METADATA,sha256=Jj_qr2H7PpQQM8X-JM9JPsXfiFMWM8tT2gbOckHuhDU,3405
8535
- mastapy-14.0.3.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
8536
- mastapy-14.0.3.dist-info/RECORD,,
8534
+ mastapy-14.0.3.post1.dist-info/METADATA,sha256=IG2Abv5-CeWllipE6KA5lbBAKVgpAh_Z7ZedxEmnzz8,3411
8535
+ mastapy-14.0.3.post1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
8536
+ mastapy-14.0.3.post1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.7.0
2
+ Generator: poetry-core 1.9.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any