wolfhece 2.1.60__py3-none-any.whl → 2.1.62__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.
wolfhece/apps/version.py CHANGED
@@ -5,7 +5,7 @@ class WolfVersion():
5
5
 
6
6
  self.major = 2
7
7
  self.minor = 1
8
- self.patch = 60
8
+ self.patch = 62
9
9
 
10
10
  def __str__(self):
11
11
 
wolfhece/libs/__init__.py CHANGED
@@ -30,29 +30,41 @@ FORTRAN_DLLS = ['libifcoremd.dll',
30
30
  'svml_dispmd.dll',
31
31
  'libiomp5md.dll']
32
32
 
33
- from site import getsitepackages
33
+ from site import getsitepackages, getusersitepackages
34
34
 
35
- def find_Librarybin(test):
35
+ def find_Librarybin(which, test):
36
36
  """ Searching Library/bin folder """
37
37
 
38
38
  interpreter_path = Path(sys.executable).parent
39
- sites = getsitepackages()
39
+ sites = sys.path
40
40
 
41
41
  candidate = interpreter_path / 'Library/bin'
42
+ print(f'Searching {which} in {candidate}')
42
43
  if candidate.exists():
43
44
  if (candidate/test).exists():
45
+ print(f"Found {which} in {candidate}")
46
+ return candidate
47
+
48
+ candidate = interpreter_path.parent / 'Library/bin'
49
+ print(f'Searching {which} in {candidate}')
50
+ if candidate.exists():
51
+ if (candidate/test).exists():
52
+ print(f"Found {which} in {candidate}")
44
53
  return candidate
45
54
 
46
55
  for cursite in sites:
47
- candidate = Path(cursite) / 'Library/bin'
48
- if candidate.exists():
49
- if (candidate/test).exists():
50
- return candidate
56
+ if 'site-packages' in cursite:
57
+ candidate = Path(cursite).parent.parent / 'Library/bin'
58
+ print(f'Searching {which} in {candidate}')
59
+ if candidate.exists():
60
+ if (candidate/test).exists():
61
+ print(f"Found {which} in {candidate}")
62
+ return candidate
51
63
 
52
64
  return None
53
65
 
54
- mkl_path = find_Librarybin(MKL_DLLS[0])
55
- fortran_path = find_Librarybin(FORTRAN_DLLS[0])
66
+ mkl_path = find_Librarybin('MKL', MKL_DLLS[0])
67
+ fortran_path = find_Librarybin('FORTRAN', FORTRAN_DLLS[0])
56
68
 
57
69
  if mkl_path is None:
58
70
  print("MKL package not found -- Please install MKL with 'pip install mkl'")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wolfhece
3
- Version: 2.1.60
3
+ Version: 2.1.62
4
4
  Author-email: Pierre Archambeau <pierre.archambeau@uliege.be>
5
5
  License: Copyright (c) 2024 University of Liege. All rights reserved.
6
6
  Project-URL: Homepage, https://uee.uliege.be/hece
@@ -72,7 +72,7 @@ wolfhece/apps/check_install.py,sha256=SG024u18G7VRLKynbp7DKD1jImtHwuWwN4bJWHm-YH
72
72
  wolfhece/apps/curvedigitizer.py,sha256=Yps4bcayzbsz0AoVc_dkSk35dEhhn_esIBy1Ziefgmk,5334
73
73
  wolfhece/apps/isocurrent.py,sha256=dagmGR8ja9QQ1gwz_8fU-N052hIw-W0mWGVkzLu6C7I,4247
74
74
  wolfhece/apps/splashscreen.py,sha256=SrustmIQeXnsiD-92OzjdGhBi-S7c_j-cSvuX4T6rtg,2929
75
- wolfhece/apps/version.py,sha256=JxmjSazuCXVG7m7Z0RPKfHDtapKv30Ya4LTjYWXXdPg,388
75
+ wolfhece/apps/version.py,sha256=2Eqfk37LOVeJu7LaxMXP5FneU0J06xuUj1Lm1dSfARM,388
76
76
  wolfhece/apps/wolf.py,sha256=j_CgvsL8rwixbVvVD5Z0s7m7cHZ86gmFLojKGuetMls,729
77
77
  wolfhece/apps/wolf2D.py,sha256=4z_OPQ3IgaLtjexjMKX9ppvqEYyjFLt1hcfFABy3-jU,703
78
78
  wolfhece/apps/wolf_logo.bmp,sha256=ruJ4MA51CpGO_AYUp_dB4SWKHelvhOvd7Q8NrVOjDJk,3126
@@ -175,7 +175,7 @@ wolfhece/lazviewer/viewer/viewer.exe,sha256=pF5nwE8vMWlEzkk-SOekae9zpOsPhTWhZbqa
175
175
  wolfhece/lazviewer/viewer/viewer.py,sha256=8_MQCaQOS0Z_oRPiGoRy1lq-aCirReX3hWEBjQID0ig,24665
176
176
  wolfhece/libs/MSVCP140.dll,sha256=2GrBWBI6JFuSdZLIDMAg_qKcjErdwURGbEYloAypx3o,565640
177
177
  wolfhece/libs/WolfDll.dll,sha256=E8SeV0AHVXW5ikAQuVtijqIvaYx7UIMeqvnnsmTMCT8,132934144
178
- wolfhece/libs/__init__.py,sha256=eAA6dNfD15XEuBk24yYUtSRpFc6MpJ_g42F_05gtRSA,2651
178
+ wolfhece/libs/__init__.py,sha256=smtUW6nf3L0ZEDFkn33k08ruo_xac78HULBV0FvhuuU,3230
179
179
  wolfhece/libs/api-ms-win-crt-heap-l1-1-0.dll,sha256=r0euvgZa8vBFoZ8g7H5Upuc8DD6aUQimMJWnIyt1OBo,19720
180
180
  wolfhece/libs/api-ms-win-crt-math-l1-1-0.dll,sha256=ol0GVN6wzqGu8Ym6IXTQ8TvfUvCY06nsNtFeS_swxJk,27912
181
181
  wolfhece/libs/api-ms-win-crt-runtime-l1-1-0.dll,sha256=NxpEq5FhSowm0Vm-uHKntD9WnLX6yK2pms6Y8mSjtQM,23304
@@ -283,8 +283,8 @@ wolfhece/ui/wolf_multiselection_collapsiblepane.py,sha256=8PlMYrb_8jI8h9F0_EagpM
283
283
  wolfhece/ui/wolf_times_selection_comparison_models.py,sha256=ORy7fz4dcp691qKzaOZHrRLZ0uXNhL-LIHxmpDGL6BI,5007
284
284
  wolfhece/wintab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
285
  wolfhece/wintab/wintab.py,sha256=8A-JNONV6ujgsgG3lM5Uw-pVgglPATwKs86oBzzljoc,7179
286
- wolfhece-2.1.60.dist-info/METADATA,sha256=BCXpcCPuPZ8Kpe_9bCPZoPTvQ69o041Ia9aF6uyAxmA,2541
287
- wolfhece-2.1.60.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
288
- wolfhece-2.1.60.dist-info/entry_points.txt,sha256=Q5JuIWV4odeIJI3qc6fV9MwRoz0ezqPVlFC1Ppm_vdQ,395
289
- wolfhece-2.1.60.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
290
- wolfhece-2.1.60.dist-info/RECORD,,
286
+ wolfhece-2.1.62.dist-info/METADATA,sha256=xLug9OiofWGaHbIy0NuNvpS_V4S2ujMvlRV1JVz3Byw,2541
287
+ wolfhece-2.1.62.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
288
+ wolfhece-2.1.62.dist-info/entry_points.txt,sha256=Q5JuIWV4odeIJI3qc6fV9MwRoz0ezqPVlFC1Ppm_vdQ,395
289
+ wolfhece-2.1.62.dist-info/top_level.txt,sha256=EfqZXMVCn7eILUzx9xsEu2oBbSo9liWPFWjIHik0iCI,9
290
+ wolfhece-2.1.62.dist-info/RECORD,,