Add BSD support to libusb-package. I'd like to make sure that libusb-package can install and work successfully from the source distribution on BSD systems, since prebuilt wheels for BSD are highly unlikely.
@cederom I don't have a BSD environment to test with. Could you help here?
One question is: what does platform.system() return for BSD, and what is the file extension for shared libraries? This will allow an entry to be added to the library extension mapping dict:
|
_LIBRARY_MAP_EXT = { |
|
'Darwin': '.dylib', |
|
'Linux': '.so', |
|
'Windows': '.dll', |
|
} |
|
_LIBRARY_EXT = _LIBRARY_MAP_EXT.get(platform.system(), ".so") |
Add BSD support to libusb-package. I'd like to make sure that libusb-package can install and work successfully from the source distribution on BSD systems, since prebuilt wheels for BSD are highly unlikely.
@cederom I don't have a BSD environment to test with. Could you help here?
One question is: what does
platform.system()return for BSD, and what is the file extension for shared libraries? This will allow an entry to be added to the library extension mapping dict:libusb-package/src/libusb_package/__init__.py
Lines 40 to 45 in 7b3a847