pyocd / pyocd/libusb-package

BSD support

Open
#1 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
40
Forks
19
PR merge metrics
No merged PRs in 30d

Description

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:

https://github.com/pyocd/libusb-package/blob/7b3a84733d6056eeeae96c7ed0f22d6d427f9fe0/src/libusb_package/__init__.py#L40-L45

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/libusb_package/init.py at the library extension mapping around lines 40-45. Determine what platform.system() returns on BSD and the shared-library extension, then verify that the source distribution installs and works on a BSD system. Done means BSD is supported without relying on prebuilt wheels.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
operating-systems, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.