www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to:content-type; q=dns; s=default; b=llJPoFv | |
bKyGLUU9z5T70W8o9G22VIdQQ3qVu/JusLHqftIhbqN6pLmWRZUAKS0/IjdKmafR | |
aCPu+sOpMjWVtR+9D9HrP21sB7JlF5UeKSWzIegNCyv8DrZTr5b3OXbGoLelD0wO | |
8itPiYb08Nmd9pB8dOrkQs5vIfhunfGUuW0k= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:references:in-reply-to:from:date | |
:message-id:subject:to:content-type; s=default; bh=8lfo0ksIsCn0J | |
souwOu35Almbng=; b=PKZMEJxuPumWPr9KQooqCs048gAzJcaItWdG8dsq7s+GL | |
o/v9y3vZdjg0o5sYwKcS3D1mC7qEmINZCRmMW+qmVgAo0f+FdX/zeR96axbZeKC1 | |
fOpyIJGZrintW+WGpEwWsmJ9DIhoHjDeCdShjScZqHaII56L3q9GEA3Vrxn5+k= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=problemshtml, problems.html, docshtml, UD:docs.html |
X-HELO: | mail-lf1-f65.google.com |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ePtfw82B+1SR1o1dAUweIkQbICeZ5HzYTxT/JzmVxms=; b=mpqYIGmYAmnVe6iGamf8vS+ZmK3mrbv9n9AxGlKuLzYMR3edfSpzBUpgkUmbBR2tJ5 2URRxEF3hB6nsiwgChU1q43BCD2+eAapwt8jDchjOwPu26DZcQSnaJMVFehNHRhUyMjf 14PgbSm0T0cWEQJ6AS1AqRcpxBcvI9Xl7vWTgnehcGYnzXiKOl/9j8oAnko5gS5N/FZx SeoS/VoJ9Aup5bGhvi6kAyYVkCzwDdSrcki3bkC+Kq7iV0w6uGirkTexkF84XfCRgd1s ZKkY7ILnMvdCWTp73YU5lyooVGITxUPKah/tqQU57kGSn7P3/eT+rOys+BLEqXmMG2cl phXA== |
MIME-Version: | 1.0 |
References: | <a22c262a6916033450bc011dc181bc6f553a9baf DOT camel AT cygwin DOT com> <5c73e2de DOT 1c69fb81 DOT 51805 DOT 32cd AT mx DOT google DOT com> <0966bd837e33ca9ff07b13271211b2f5d2939793 DOT camel AT cygwin DOT com> |
In-Reply-To: | <0966bd837e33ca9ff07b13271211b2f5d2939793.camel@cygwin.com> |
From: | Ray Donnelly <mingw DOT android AT gmail DOT com> |
Date: | Tue, 26 Feb 2019 10:37:10 +0100 |
Message-ID: | <CAOYw7dutdf5OEpHkj-gpsfDMspEcMeiBb3qJ9dwNr8eejTsVXA@mail.gmail.com> |
Subject: | Re: Python extraneous dependencies |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
On Tue, Feb 26, 2019 at 5:12 AM Yaakov Selkowitz <yselkowitz AT cygwin DOT com> wrote: > > On Mon, 2019-02-25 at 04:43 -0800, Steven Penny wrote: > > On Sun, 24 Feb 2019 17:42:36, Yaakov Selkowitz wrote: > > > On Sat, 2019-02-23 at 16:29 -0800, Steven Penny wrote: > > > > I noticed that "python36" requires "binutils". > > > > > > This is needed for ctypes.util.find_library(). FWIW, on Linux, not > > > only binutils is used, but also gcc. I am very familiar with CPython's source code because I work on the Anaconda Ditribution, maintaining our Python packages for Windows, Linux and macOS and I can say that this is not the case, neither regarding binutils nor gcc. In Python, objdump is used only in a *fallback* case, and one that no one has run for many years [1]. If it is used in Cygwin's port of Python then the reason for needing the fallback needs to be investigated and removed. I might submit a patch to CPython removing this fallback one day and it is just code-rot at this point (and leads people to draw incorrect conclusions). gcc is not used at all in ctypes. It (or some compiler) is used by disutils when compiling python extension modules, obviously, but that's not something all (or even most) users of Python probably need to do. -- Cheers, Ray. [1] https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Lib/ctypes/util.py#L193-L212 > > > > > > > Further, I noticed this dependency chain: > > > > > > > > python36 > libuuid-devel > pkg-config > libglib2.0_0 > > > > > > Until 3.7, the uuid stdlib module loads libuuid via ctypes, hence the > > > dependency. In 3.7, there is a compiled binding, and so the -devel > > > dependency was dropped. Also, pkgconf will soon be providing and > > > replacing pkg-config, which will cause the glib2.0 dependency to be > > > dropped. > > > > thanks. i was interested further in comparison so i took this file: > > > > https://python.org/ftp/python/3.6.8/python-3.6.8-embed-amd64.zip > > > > then use tar for fair comparison: > > > > tar -a -c -f python-3.6.8-embed-amd64.tar.xz python-3.6.8-embed-amd64 > > Did you look at the contents of that zip file? It's quite minimal, and > therefore not a fair comparison at all. > > > and that doesnt include the other packages i previously discussed. so it almost > > makes more sense to not even use the cygwin version? > > Hardly, but discussing how/why *not* to use Cygwin is OT IMO. > > -- > Yaakov > > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |