]> www.infradead.org Git - users/sagi/libnvme.git/commit
ci: publish only sdist on PyPi
authorDaniel Wagner <dwagner@suse.de>
Tue, 12 Apr 2022 08:52:35 +0000 (10:52 +0200)
committerDaniel Wagner <dwagner@suse.de>
Tue, 12 Apr 2022 17:58:35 +0000 (19:58 +0200)
commitc95ff5477bbc006bde9f832e416e50fdf53264db
tree5b835fc3b840824b8ffa919754fa1a075dbaaf1d
parent033449f7c61c130fd21f0a747075dc15069f73f0
ci: publish only sdist on PyPi

Pre building the binaries with wheels is difficult, as we would also
need to ship the libnvme.so with the Python binding.

This is a well known limitation of this kind of setup (binding to a
shared library). Most project fallback to just ship the sdist.

Though there is a drawback as the C library is missing and the user
has to provide the library himself, with all problems which come along
with setup. But it seems common practice with other Python bindings,
so we don't want to be hostile to the ones which know what they are
doing.

Normal users should just use the distribution packages anyway.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
.github/workflows/python-publish.yml