Distribute application with detectron2 maskrcnn model

I have an application wich use instance segmentation with detectron2 maskrcnn. I want to distribute it as a Windows program. I tried to convert it in C++ but it doesn’t work. I tried to use conda-pack but it say to me that it cannot pack the environment because there are editable packages :
I pack it without editable packages but I have an error that there is no module detectron2.
How to distribute applications with detectron2 please ?
Thank you
Best regards