Tom Goddard - 2020-09-26

While I figured out these problems and can work around them here is what I would love to have. I am trying to include gdcm in a Python based visualization package UCSF ChimeraX. I'd love to have a gdcm distribution that has gdcm for Python 3.8 as a self-contained Python package, ie a directory gdcm in site-packages with contents

gdcm
   __init__.py
   gdcm.py
   _gdcmswig.so
   libgdcmCommon.3.0.dylib
   ...other dylibs needed

with all library paths in _gdcmswig.so pointing to the libraries in the same directory and the .dylib files with correct relative references to the other dylib files they depend on. I could drop this gdcm directory into any Python 3.8 site-packages and it would just work. The ChimeraX app is on Windows and Linux too and I'd like the same on those systems. I can massage the current gdcm distributions into this form but it is a lot of trouble and the suggested packaging would make using gdcm in Python much easier to setup. Thanks!

 

Last edit: Tom Goddard 2020-09-26