h2lib 13.1.1__cp39-cp39-win_amd64.whl → 13.1.3__cp39-cp39-win_amd64.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.
h2lib/HAWC2Lib.dll CHANGED
Binary file
h2lib/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # This file is autogenerated and should not be modified manually
2
- __version__ = '13.1.1'
3
- h2lib_version = '13.1.1'
4
- hawc2_version = '13.1.0+1-g7269dc1'
2
+ __version__ = '13.1.3'
3
+ h2lib_version = '13.1.3'
4
+ hawc2_version = '13.0.15+2-g7269dc1'
h2lib/dll_wrapper.py CHANGED
@@ -28,17 +28,20 @@ class SuppressStream(object):
28
28
 
29
29
  def __init__(self, stream=sys.stderr):
30
30
  self.orig_stream_fileno = stream.fileno()
31
+ self.stream = stream
31
32
 
32
33
  def __enter__(self):
34
+ # save stream file descriptor
33
35
  self.orig_stream_dup = os.dup(self.orig_stream_fileno)
34
36
  self.devnull = open(os.devnull, 'w')
37
+ self.stream.flush()
35
38
  os.dup2(self.devnull.fileno(), self.orig_stream_fileno)
36
39
 
37
40
  def __exit__(self, type, value, traceback):
38
- self.devnull.flush()
39
41
  os.close(self.orig_stream_fileno)
40
42
  os.dup2(self.orig_stream_dup, self.orig_stream_fileno)
41
43
  os.close(self.orig_stream_dup)
44
+ self.devnull.flush()
42
45
  self.devnull.close()
43
46
 
44
47
 
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: h2lib
3
- Version: 13.1.1
4
- Summary: Python interface to HAWC2 (13.1.0+1-g7269dc1)
3
+ Version: 13.1.3
4
+ Summary: Python interface to HAWC2 (13.0.15+2-g7269dc1)
5
5
  Download-URL:
6
6
  Author: Mads M. Pedersen, S.G.Horcas and N.G.Ramos
7
7
  Author-email: mmpe@dtu.dk
@@ -0,0 +1,10 @@
1
+ h2lib/HAWC2Lib.dll,sha256=WAC_VHOPWqfIG-mBx3xnskzWs6XL624coLuJ1f3rORk,29719552
2
+ h2lib/__init__.py,sha256=f3fO4I6IEFRM9LaV2O3w9Pioj3GPI8qRl7P5Tg5ONtE,528
3
+ h2lib/_h2lib.py,sha256=PvXyuoVW6IDbjeYWYtCHRYcpLMlZh7aCiJkfLBl88gg,14938
4
+ h2lib/_version.py,sha256=mtB1jpdDTbwo9krhS_xRdIpqy2DmF64NMcCXMaAY2x8,154
5
+ h2lib/dll_wrapper.py,sha256=xQicDPnhK0Zgr3ifHX1peLJ6uwYZvXxLQAt9LIu45RY,11922
6
+ h2lib/h2lib_signatures.py,sha256=uIcqvgVbm_L5C4jpHc9mBqz_6G5sLIk_6n2i-j1oA04,14500
7
+ h2lib-13.1.3.dist-info/METADATA,sha256=km73pSt6KwpSo-DsJwF0Axcrm3x_iMgY-4ILxRwPZdo,670
8
+ h2lib-13.1.3.dist-info/WHEEL,sha256=Z6c-bE0pUM47a70GvqO_SvH_XXU0lm62gEAKtoNJ08A,100
9
+ h2lib-13.1.3.dist-info/top_level.txt,sha256=y_a-tUqphEZQ_0nsWSMaSb21P8Lsd8hUxUdE9g2Dcbk,6
10
+ h2lib-13.1.3.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- h2lib/HAWC2Lib.dll,sha256=YLhwTrJ7xZrpDRbroMi-xx-7GegRMa0GF02wtWH_w9I,29719552
2
- h2lib/__init__.py,sha256=f3fO4I6IEFRM9LaV2O3w9Pioj3GPI8qRl7P5Tg5ONtE,528
3
- h2lib/_h2lib.py,sha256=PvXyuoVW6IDbjeYWYtCHRYcpLMlZh7aCiJkfLBl88gg,14938
4
- h2lib/_version.py,sha256=meE3BFlhYd9SkEy2QSnHjr3_ZXS6vYZ1wL07UGZdC0E,153
5
- h2lib/dll_wrapper.py,sha256=vO7IGbnPTpzrbjsvm-jRnYabXM97gCukJDTPJHDLEpA,11824
6
- h2lib/h2lib_signatures.py,sha256=uIcqvgVbm_L5C4jpHc9mBqz_6G5sLIk_6n2i-j1oA04,14500
7
- h2lib-13.1.1.dist-info/METADATA,sha256=9MLhbLu0rHyw_8ceorxGElyh53ZUphxFhg-GtOB6ROU,669
8
- h2lib-13.1.1.dist-info/WHEEL,sha256=Z6c-bE0pUM47a70GvqO_SvH_XXU0lm62gEAKtoNJ08A,100
9
- h2lib-13.1.1.dist-info/top_level.txt,sha256=y_a-tUqphEZQ_0nsWSMaSb21P8Lsd8hUxUdE9g2Dcbk,6
10
- h2lib-13.1.1.dist-info/RECORD,,
File without changes