I have a simple C++/python project that builds some C++ shared libraries (via make) and some python extensions (via setuptools).
I've been battling with conda for weeks, but I can't find a way to create a recipe or a python setup.py for a package that will install my pure C++ headers, shared libs and binaries into the root
include,
lib, and
bin folders in a conda environment. All the examples I've found online seem to just be wrappers around pip, is there not a way to package these with conda/setuptools?
I've tried using the package_data and data_files arguments using setuptools in my setup.py, but it installs my C++ files under the python3.11/site-packages subfolder, rather than in the correct include, lib, and bin folders in the root of the environment. I've also tried using MANIFEST.in but this seems to be ignored by my conda build.sh script which calls 'python setup.py install'
Are there any example conda recipes that package C++ libs/headers/bins online?
Thanks