Skip to content

BSD support #1

@flit

Description

@flit

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions