hidapi-usb 0.3__tar.gz → 0.3.2__tar.gz

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.
@@ -1,10 +1,16 @@
1
- Metadata-Version: 1.0
1
+ Metadata-Version: 2.2
2
2
  Name: hidapi-usb
3
- Version: 0.3
3
+ Version: 0.3.2
4
4
  Summary: CFFI wrapper for hidapi with changes by flok
5
5
  Home-page: https://github.com/flok/hidapi-cffi.git
6
6
  Author: Florian K
7
7
  Author-email: 37000563+flok@users.noreply.github.com
8
8
  License: BSD
9
- Description: UNKNOWN
10
- Platform: UNKNOWN
9
+ License-File: LICENSE.txt
10
+ Requires-Dist: cffi
11
+ Dynamic: author
12
+ Dynamic: author-email
13
+ Dynamic: home-page
14
+ Dynamic: license
15
+ Dynamic: requires-dist
16
+ Dynamic: summary
@@ -2,7 +2,7 @@ from cffi import FFI
2
2
  from sys import platform
3
3
  ffi = FFI()
4
4
 
5
- if platform.startswith('linux'):
5
+ if platform.startswith('linux') or platform.startswith('darwin'):
6
6
  ffi.cdef("""
7
7
 
8
8
  struct hid_device_;
@@ -51,7 +51,7 @@ int hid_get_indexed_string(hid_device *device, int string_index,
51
51
  wchar_t *string, size_t maxlen);
52
52
  const wchar_t* hid_error(hid_device *device);
53
53
  """)
54
- elif platform.startswith('windows'):
54
+ elif platform.startswith('win32'):
55
55
  ffi.cdef("""
56
56
 
57
57
  typedef struct _OVERLAPPED {
@@ -1,10 +1,16 @@
1
- Metadata-Version: 1.0
1
+ Metadata-Version: 2.2
2
2
  Name: hidapi-usb
3
- Version: 0.3
3
+ Version: 0.3.2
4
4
  Summary: CFFI wrapper for hidapi with changes by flok
5
5
  Home-page: https://github.com/flok/hidapi-cffi.git
6
6
  Author: Florian K
7
7
  Author-email: 37000563+flok@users.noreply.github.com
8
8
  License: BSD
9
- Description: UNKNOWN
10
- Platform: UNKNOWN
9
+ License-File: LICENSE.txt
10
+ Requires-Dist: cffi
11
+ Dynamic: author
12
+ Dynamic: author-email
13
+ Dynamic: home-page
14
+ Dynamic: license
15
+ Dynamic: requires-dist
16
+ Dynamic: summary
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name='hidapi-usb',
5
- version="0.3",
5
+ version="0.3.2",
6
6
  description=("CFFI wrapper for hidapi with changes by flok"),
7
7
  author="Florian K",
8
8
  url="https://github.com/flok/hidapi-cffi.git",
File without changes
File without changes
File without changes