Adding a python package to an extension/custom Slicer

I need to add a python package (girder_client) to a custom Slicer version I am working on. With the current difficulties in using pip in Slicer, I wanted to have it added during the build. Does anyone have an example/tips for doing this?

Thanks

Hi,

Step 1: try to pip install girder client using python 2.7 in slicer in a build tree. I am assuming this will go smoothly.

Step 2: look at https://github.com/Radiomics/SlicerRadiomics/blob/master/SuperBuild/External_python-pyradiomics.cmake and try to have an extension packing the client along with is dependencies.

Step 3: add that external project to the custom app and update the slicer dependencies like we did for scipy in Slicer Salt.

Hth

Jc