Public bug reported: Python 3 wrappers for gdcm are readily available when compiling from source. In cmake config, the following options should be set:
GDCM_BUILD_SHARED_LIBS=ON GDCM_WRAP_PYTHON=ON CMAKE_BUILD_TYPE=RELEASE Also PYTHON_EXECUTABLE, PYTHON_INCLUDE_DIR and PYTHON_LIBRARY should be set accordingly. I generated the wrappers under Python 3.6 and successfully tested them on JPEG2000 compressed dicoms. .py files and the library attached. Could the maintainers add Python 3 version to this package? (Alternatively, should python3-gdcm package be created?) ** Affects: gdcm (Ubuntu) Importance: Undecided Status: New ** Attachment added: "python3-gdcm.zip" https://bugs.launchpad.net/bugs/1748411/+attachment/5051742/+files/python3-gdcm.zip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1748411 Title: Python 3 wrapper not included in python-gdcm To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdcm/+bug/1748411/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs