PySimultan 0.7.4__py3-none-any.whl → 0.7.5__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.
PySimultan2/__about__.py CHANGED
@@ -1 +1 @@
1
- version = '0.7.4'
1
+ version = '0.7.5'
PySimultan2/__init__.py CHANGED
@@ -48,7 +48,6 @@ def setup():
48
48
  logger.setLevel('DEBUG')
49
49
 
50
50
  dll_path = os.environ.get('SIMULTAN_SDK_DIR', None)
51
- dll_path = None
52
51
  if dll_path is None:
53
52
  with pkg_resources.path(resources, 'SIMULTAN.dll') as r_path:
54
53
  dll_path = str(r_path)
@@ -59,8 +58,11 @@ def setup():
59
58
  list(clr_loader.find_runtimes())
60
59
  load('coreclr')
61
60
  import clr
62
- test = clr.AddReference(
63
- os.path.join(dll_path, 'SIMULTAN.dll') if not dll_path.endswith('SIMULTAN.dll') else dll_path)
61
+ try:
62
+ clr.AddReference('SIMULTAN')
63
+ except Exception as e:
64
+ test = clr.AddReference(
65
+ os.path.join(dll_path, 'SIMULTAN.dll') if not dll_path.endswith('SIMULTAN.dll') else dll_path)
64
66
  clr.AddReference("System.Security.Cryptography")
65
67
  # clr.AddReference(os.path.join(dll_path, 'SIMULTAN'))
66
68
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PySimultan
3
- Version: 0.7.4
3
+ Version: 0.7.5
4
4
  Project-URL: Documentation, https://github.com/Bühler Maximilian/PySimultan2#readme
5
5
  Project-URL: Issues, https://github.com/Bühler Maximilian/PySimultan2/issues
6
6
  Project-URL: Source, https://github.com/Bühler Maximilian/PySimultan2
@@ -1,6 +1,6 @@
1
1
  PySimultan2/CHANGELOG.md,sha256=sFTVr_AgFyqf4HPmShaAHKaHcT5A3MjL2s2VVzEdoyM,1340
2
- PySimultan2/__about__.py,sha256=gcBTRNxROmZTpPihDWN7cepd2Ky4poAu-P0K56b6scA,19
3
- PySimultan2/__init__.py,sha256=PGVR1uhY01dF5tHyad-znURUZ_LVB95vsjId2BT0aJM,3245
2
+ PySimultan2/__about__.py,sha256=TEFip2a0VFNRURwwPsPibE-taPGthCRZsDf-CCUhJ3Q,19
3
+ PySimultan2/__init__.py,sha256=MMHfHx8GQWmoHgFN8MTG4jIOqwrKzTyDYeB3LMjsU9c,3308
4
4
  PySimultan2/data_model.py,sha256=3KX3cjsEB-9G-FzRVd0Zo1FpoAgR8cFOCo-drPoXJKg,45894
5
5
  PySimultan2/default_types.py,sha256=NnBgf16CElEAWH7tA0qLKqFHZ4_YS00HAJpKHG1CmjQ,30581
6
6
  PySimultan2/files.py,sha256=8JCWtUPS89POsPrmn_kCrHzmiBsLb1iWhw-A9qQLcR8,34716
@@ -44,7 +44,7 @@ PySimultan2/resources/System.Data.OleDb.dll,sha256=-AAzdmyo01QNgD9qnUIewEImplJFV
44
44
  PySimultan2/resources/System.Net.Http.Formatting.dll,sha256=xQBIin4YpqDObdqwau_5dr8XQEq54hlxV4gBgNtUqbc,179672
45
45
  PySimultan2/resources/System.Reflection.MetadataLoadContext.dll,sha256=P4PBRwAGWL27sNc754Wd28t_koJKBFYJ2FyolrD1xo0,242296
46
46
  PySimultan2/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
- pysimultan-0.7.4.dist-info/METADATA,sha256=Hx0MaOQnujynjSXoSlJfzJtbFtpfVPLaRgGmG81bWJ8,6608
48
- pysimultan-0.7.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
49
- pysimultan-0.7.4.dist-info/licenses/LICENSE.txt,sha256=FgR_YZkk7oYz4087xYXfcBCXGuTStFrsOWTH4bbpa3c,1821
50
- pysimultan-0.7.4.dist-info/RECORD,,
47
+ pysimultan-0.7.5.dist-info/METADATA,sha256=n96S6y6WItLIV5ORnIRffxa_2LuNmKSKV-75F0NsChk,6608
48
+ pysimultan-0.7.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
49
+ pysimultan-0.7.5.dist-info/licenses/LICENSE.txt,sha256=FgR_YZkk7oYz4087xYXfcBCXGuTStFrsOWTH4bbpa3c,1821
50
+ pysimultan-0.7.5.dist-info/RECORD,,