Closed
Description
Currently, installing this package with pip might fail with this error (excerpt from CI):
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include -Ilibarchive -I/opt/hostedtoolcache/Python/3.6.15/x64/include/python3.6m -c libarchive/_libarchive_wrap.c -o build/temp.linux-x86_64-3.6/libarchive/_libarchive_wrap.o
libarchive/_libarchive_wrap.c:2712:10: fatal error: archive.h: No such file or directory
2712 | #include <archive.h>
| ^~~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
Installing libarchive-dev
on Ubuntu fixes this but it is an additional step the user has to be made aware of.
To ease installation issues like this one, providing wheels would be very much appreciated. Even better if it bundles libarchive, which thanks to its permissive license should be possible to do. It seems like @Vadiml1024 already tried to set up a CI for this. Personally, I'm using a pyproject.toml and the build package to build the tarball and cibuildwheel to build the wheels for my C++ indexed_bzip2/pragzip.
Metadata
Metadata
Assignees
Labels
No labels