phylovi / bito

Python-interface C++ library for Bayesian phylogenetics via optimization
https://phylovi.github.io/bito/
GNU General Public License v3.0
38 stars 9 forks source link

Make a self-contained wheel with `auditwheel` #254

Open matsen opened 4 years ago

matsen commented 4 years ago

We currently require the user to install BEAGLE, and then compile libsbn C++.

In the future, of course we'd like someone to be able to pip install libsbn and have the magic happen.

The auditwheel command is meant to slurp library dependencies into a single wheel.

  1. Can we do this "by hand"?
  2. Can we do this, automated style, using Docker and GitHub actions?

Note that on my machine, we make an "anylinux" wheel: dist/libsbn-0.1-cp37-abi3-manylinux2010_x86_64.whl

matsen commented 3 years ago

Note that the OSX-equivalent tool is https://github.com/matthew-brett/delocate .