Hi Clint, See http://docs.python.org/3/library/ctypes.html for description of how ctypes works. As Python programs are interpreted, the only way to access external shared libraries from Python code is by dlopen()ing them. By looking at attic code, it only accesses libc (in xattr.py) and libcrypto (in attic/crypto.py).
Of course, this is not the best practice, a simplier solution will be to use existing modules like python-xattr and python-crypto, or writing a Python extension where you can use C code. -- Dmitry Shachnev On Thu, Feb 6, 2014 at 9:00 PM, Clint Adams <cl...@softwarefreedom.org> wrote: > On Sun, Jan 26, 2014 at 01:04:09PM +0100, Jonas Borgström wrote: >> Attic uses ctypes to interact with libcrypto and does not use >> python3-openssl. So the python3-openssl dependency should be replaced >> with a dependency on libssl1.0.0. > > I assume this means this cdll thing is calling dlopen() on > libcrypto. Maybe one of the Python folks can tell me how to detect > that and correlate it with shlibs in an automated fashion, or better > yet adopt the package. -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAKimPHX6AOk7NCXCdukrWUymS+wWoL8Zd0bz6Z5bmLrzM4=q...@mail.gmail.com