mastapy 14.0.2.post1__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
- not os.path.exists(clr_loader_path)
659
- and environment_summary.dotnet_version is DotNetVersion.NET462
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
 
@@ -3,5 +3,5 @@
3
3
  Module containing the version information for the package.
4
4
  """
5
5
 
6
- __version__ = "14.0.2"
7
- __api_version__ = "14.0.2"
6
+ __version__ = "14.0.3"
7
+ __api_version__ = "14.0.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mastapy
3
- Version: 14.0.2.post1
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
@@ -32,12 +32,12 @@ Requires-Dist: ptvsd (>=4.2)
32
32
  Requires-Dist: pythonnet (<3.0.0) ; python_version < "3.9"
33
33
  Requires-Dist: pythonnet (>=3.0.0,<4.0.0) ; python_version >= "3.9"
34
34
  Requires-Dist: typeguard (>=4.1.2) ; python_full_version >= "3.7.4"
35
- Project-URL: Documentation, https://documentation.smartmt.com/MastaAPI/14.0.2/
35
+ Project-URL: Documentation, https://documentation.smartmt.com/MastaAPI/14.0.3/
36
36
  Description-Content-Type: text/markdown
37
37
 
38
38
  <h1 align="center">
39
- <img src="https://documentation.smartmt.com/MastaAPI/14.0.2/images/smt_logo.png" width="150" alt="SMT"><br>
40
- <img src="https://documentation.smartmt.com/MastaAPI/14.0.2/images/MASTA_14_logo.png" width="400" alt="Mastapy">
39
+ <img src="https://documentation.smartmt.com/MastaAPI/14.0.3/images/smt_logo.png" width="150" alt="SMT"><br>
40
+ <img src="https://documentation.smartmt.com/MastaAPI/14.0.3/images/MASTA_14_logo.png" width="400" alt="Mastapy">
41
41
  </h1><br>
42
42
 
43
43
  [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -46,7 +46,7 @@ Mastapy is the Python scripting API for MASTA.
46
46
 
47
47
  - **Website**: https://www.smartmt.com/
48
48
  - **Support**: https://support.smartmt.com/
49
- - **Documentation**: https://documentation.smartmt.com/MastaAPI/14.0.2/
49
+ - **Documentation**: https://documentation.smartmt.com/MastaAPI/14.0.3/
50
50
 
51
51
 
52
52
  ### Features
@@ -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=sz31I2O6Au6sVHuY7FQZwfRmNhnBlcmcKSUQW95nTq0,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
@@ -253,7 +253,7 @@ mastapy/_private/_internal/sentinels.py,sha256=L_ibd3s8-FRJYQqHc7AwTLbqLAr7EWGb6
253
253
  mastapy/_private/_internal/tuple_with_name.py,sha256=PPpSho04giLWf9yZc5EoP0jporzCRgoZpZN9paGKfo0,1580
254
254
  mastapy/_private/_internal/type_enforcement.py,sha256=E-dPjI5_0Qhlbin8Q552IWa0Samay3TeW1Kted_AbNI,9080
255
255
  mastapy/_private/_internal/utility.py,sha256=FqfGt8MFwUGi1DDbWQsNbJudavoagGUle_8WWHGThBk,3361
256
- mastapy/_private/_internal/version.py,sha256=ENO5I3wG6_ysdT15u-dWs4clQ1ZnFjamDT0KtyZE-qA,134
256
+ mastapy/_private/_internal/version.py,sha256=ePKfvBDvJbWyDiwD4tNuNMy7INOTzSbf4pFbu73pplM,134
257
257
  mastapy/_private/_lib/__init__.py,sha256=TYhaKQtSf8hN5D_trQ2tnh4Hm3H1seOnN4bo9iYHz3U,47
258
258
  mastapy/_private/_lib/net462/__init__.py,sha256=TYhaKQtSf8hN5D_trQ2tnh4Hm3H1seOnN4bo9iYHz3U,47
259
259
  mastapy/_private/_lib/net462/ClrLoader.dll,sha256=R6U3AlfHucz7gqm1yHj50N2ychovEoQTozcQWWdjv5w,8192
@@ -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.2.post1.dist-info/METADATA,sha256=oWZ1hGs1s7SnvLVANNS7Q6M5KHIIyb_zOFIIj_BCSgM,3411
8535
- mastapy-14.0.2.post1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
8536
- mastapy-14.0.2.post1.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.9.0
2
+ Generator: poetry-core 1.9.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any