• ctype and dh_python3 extension rename

    From PICCA Frederic-Emmanuel@21:1/5 to All on Mon Oct 17 18:10:02 2022
    Hello, I am packaging the latest tomopy package.this software use ctype to open some extensions during the import, but I have this error message.
    import tomopy
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python3/dist-packages/tomopy/__init__.py", line 63, in <module> from tomopy.misc.corr import *
    File "/usr/lib/python3/dist-packages/tomopy/misc/corr.py", line 60, in <module> import tomopy.util.extern as extern
    File "/usr/lib/python3/dist-packages/tomopy/util/extern/__init__.py", line 86, in <module>
    from tomopy.util.extern.prep import *
    File "/usr/lib/python3/dist-packages/tomopy/util/extern/prep.py", line 65, in <module>
    LIB_TOMOPY_PREP = c_shared_lib("libtomopy-prep")
    File "/usr/lib/python3/dist-packages/tomopy/util/extern/__init__.py", line 69, in c_shared_lib
    raise ModuleNotFoundError(
    ModuleNotFoundError: The following shared library is missing: /usr/lib/python3/dist-packages/tomopy/util/extern/libtomopy-prep.soIndeed during the build process this module was renamed into libtomopy-prep.cpython-310-x86_64-linux-gnu.soSo my question is... how can I solve this issue. - do not rename the extension
    - change the logic in order to find the renamed extension. (I like it but where can I find the debian modules helper which allows to do this).Thanks for your helpFrederic
    <html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:arial,helvetica,sans-serif;}</style></head><body><div>Hello, I am packaging the latest tomopy package.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>
    this software use ctype to open some extensions during the import, but I have this error message.<br></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>&gt;&gt;&gt; import tomopy<br>Traceback (most recent call last):<br>File "&
    lt;stdin&gt;", line 1, in &lt;module&gt;<br>File "/usr/lib/python3/dist-packages/tomopy/__init__.py", line 63, in &lt;module&gt;<br>from tomopy.misc.corr import *<br>File "/usr/lib/python3/dist-packages/tomopy/misc/corr.py", line 60, in &lt;module&gt;<br>
    import tomopy.util.extern as extern<br>File "/usr/lib/python3/dist-packages/tomopy/util/extern/__init__.py", line 86, in &lt;module&gt;<br>from tomopy.util.extern.prep import *<br>File "/usr/lib/python3/dist-packages/tomopy/util/extern/prep.py", line 65,
    in &lt;module&gt;<br>LIB_TOMOPY_PREP = c_shared_lib("libtomopy-prep")<br>File "/usr/lib/python3/dist-packages/tomopy/util/extern/__init__.py", line 69, in c_shared_lib<br>raise ModuleNotFoundError(<br>ModuleNotFoundError: The following shared library is
    missing:<br></div><div>/usr/lib/python3/dist-packages/tomopy/util/extern/libtomopy-prep.so</div><div><br data-mce-bogus="1"></div><div>Indeed during the build process this module was renamed into libtomopy-prep.cpython-310-x86_64-linux-gnu.so<br data-mce-
    bogus="1"></div><div><br data-mce-bogus="1"></div><div>So my question is... how can I solve this issue.<br data-mce-bogus="1"></div><div>&nbsp; - do not rename the extension<br data-mce-bogus="1"></div><div>&nbsp; - change the logic in order to find the
    renamed extension. (I like it but where can I find the debian modules helper which allows to do this).<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks for your help<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><
    Frederic<br data-mce-bogus="1"></div></body></html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)