Hi wolfv and welcome to the freecad-forum!
Code: Select all
import os from mamba import mamba_api mamba_api.Context().conda_prefix = os.environ["PREFIX"]
wolfv wrote: ↑Fri Apr 30, 2021 6:17 am 2. yeah, that is a good & interesting question. We already have a concept of virtual (system) packages like `__glibc`, or `__osx` to constrain on libraries / versions that are not managed by mamba / conda. For this use-case we'd probably want to extend that to freecad and other "fixed" libraries by the freecad installation. We don't have a straight-forward mechanism for that yet, but I think we can just drop a non-existent `freecad-constraints` package into the installation prefix and give it the constraints for other libraries as they are installed. But there might be some additional work to do! I'd be happy to tackle that.
I'm very interested in this!