I have a python library in C++ that I can install via pip provided all libraries are installed on the system. I want to make it easier for users so I want a conda package that would also install the libraries required by my library to run : libblas, liblapack in particular.
I can build the package with conda build, and I do get a functional library. However, it does not ship with the required libraries (libblas, liblapack). So if I install the *.tar.bz2 in an environment without those libraries, my library will not work.
How to get my library to also automatically install the required libraries (libblas and liblapack) in the env ?
Here is the (relevant part) of the meta.yaml file :
requirements:
build:
- cmake>=3.14
- make
- {{compiler('cxx')}}
- libblas
- liblapack
- pybind11
host:
- pip
- python
- libblas
- liblapack
- pybind11
run:
- python
- libblas
- liblapack
- pybind11
4