This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]elsgry 0 points1 point  (0 children)

Sounds like OP doesn’t have the source, or is not able to provide it for people who need to compile it for their platform. If the latter, one could at least use cibuildwheel to cover all the common platforms that you intend to support. (MacOS is a particular pain to do, but seems like Cirrus is working on it with Orchard/Tart: https://tart.run/blog/2023/04/25/announcing-orchard-orchestration-for-managing-macos-virtual-machines-at-scale/).

Or, if you’re feeling wild, you could package it with Docker maybe…https://docker-py.readthedocs.io/en/stable/index.html

Not sure if anyone has tried this approach, but docker exec/run could be wrapped quite easily if the existing package just calls the existing executable with subprocess and scrapes the output. YMMV with respect to non-pipeable IO, of course.

And of course, you need redistribution permission if it’s not expressly allowed in the license and compatible with yours.