Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95393

Re: Detecting if a library has native dependency

Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'dependency': 0.07; 'cc:addr:python-list': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'subject:library': 0.09; 'python': 0.10; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'code?': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message- id:@fido.openend.se': 0.16; 'pypi.': 0.16; 'received:89.233': 0.16; 'received:89.233.217': 0.16; 'received:89.233.217.133': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'subject:Detecting': 0.16; 'detect': 0.18; 'laura': 0.18; 'library': 0.20; '2015': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'cc:2**1': 0.22; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; 'received:se': 0.29; 'system?': 0.29; 'cc:no real name:2**1': 0.29; "i'm": 0.30; 'code': 0.30; 'rate.': 0.33; 'list': 0.34; 'but': 0.36; 'there': 0.36; 'tool': 0.36; 'depends': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'presence': 0.38; 'sure': 0.39; 'called': 0.40; 'determine': 0.61; 'header:Message- Id:1': 0.61; 'worth': 0.67; 'received:89': 0.80
To Harish Vishwanath <harish.shastry@gmail.com>
cc python-list@python.org, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: Detecting if a library has native dependency
In-Reply-To Message from Harish Vishwanath <harish.shastry@gmail.com> of "Sat, 15 Aug 2015 17:10:01 +0530." <CA+D2wW3jxcJZCfk2jEeZ+XzRpS7qVE+QMtHY-4_GVJbU=6r=pw@mail.gmail.com>
References <CA+D2wW3jxcJZCfk2jEeZ+XzRpS7qVE+QMtHY-4_GVJbU=6r=pw@mail.gmail.com>
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <28976.1439645540.1@fido>
Date Sat, 15 Aug 2015 15:32:20 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [89.233.217.130]); Sat, 15 Aug 2015 15:32:22 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.28.1439645552.4764.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1439645552 news.xs4all.nl 2825 [2001:888:2000:d::a6]:49709
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95393

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Detecting if a library has native dependency Laura Creighton <lac@openend.se> - 2015-08-15 15:32 +0200

csiph-web