Detecting if a library has native dependency

Laura Creighton lac at openend.se
Sat Aug 15 09:32:20 EDT 2015


In a message of Sat, 15 Aug 2015 17:10:01 +0530, Harish Vishwanath writes:
>Hello
>
>Is there a reliable way to detect if a python library has native dependency
>or native code? For ex. can I programmatically determine that "lxml"
>package has native code and depends on the presence of libxml on the system?
>
>Regards,
>Harish

I'm using snakefood http://furius.ca/snakefood/ to make dependency graphs.
You can get it from PyPI.  It uses its own tool called sfood to make a
list of dependencies, but I am not sure how tweakable that is to get
the list of what you want.  Worth a look, at any rate.

Laura



More information about the Python-list mailing list