delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/26/14:58:31

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:message-id:subject:from:to:date:in-reply-to
:references:content-type:mime-version:content-transfer-encoding;
q=dns; s=default; b=avXZnPJDFUzJdiUg+rxNR/apYQEFSVVrdf5cDyGlKgV
p8EXK0yGKt5jzhXTGpCZWzIZXtO3bKIQU1jvImSG/4wE5AlLeWwubZSW+eU1/KlQ
wyBSxL1nsBWi1iTnuYtsEyaiXZcreIFEiNBF5xfR/jTQ1EPWcWBAo0xSkMOa2zt8
=
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:message-id:subject:from:to:date:in-reply-to
:references:content-type:mime-version:content-transfer-encoding;
s=default; bh=2Njx0pRvVeF3rtGbqxgQCEuQuAY=; b=pGP5ArCB1NannvQyj
Nqa/Gv21JfiBPgiTPdfnn288pNHAs9xFgWeeuQEf9rSjHh+CKebV1f8BYm8RaDLW
pGMXZo4aGUEUWg9Jn6Ffpe+RgI9is1Ad8a3+mCshYD37Djg1IIClB8E1gcri5BwO
fAdTDd7UrjAe7dXH3GK8+iJ16Q=
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.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*M:cygwin, H*F:D*cygwin.com
X-HELO: mx1.redhat.com
Message-ID: <1c57f64c080acc1bd5c2d2c0320e84d6baf217da.camel@cygwin.com>
Subject: Re: Python extraneous dependencies
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Date: Tue, 26 Mar 2019 14:58:12 -0400
In-Reply-To: <5c9a6eac.1c69fb81.cd67b.94ca@mx.google.com>
References: <3dc5b19f876e7fa109e7e61dea8463ce748630eb DOT camel AT cygwin DOT com> <5c9a6eac DOT 1c69fb81 DOT cd67b DOT 94ca AT mx DOT google DOT com>
User-Agent: Evolution 3.30.5 (3.30.5-1.fc29)
MIME-Version: 1.0

On Tue, 2019-03-26 at 11:25 -0700, Steven Penny wrote:
> On Tue, 26 Mar 2019 10:08:27, Yaakov Selkowitz wrote:
> > > It seems that function doesnt even work:
> > > 
> > > $ python3.6 -q
> > > > > > from ctypes.util import find_library
> > > > > > print(find_library('z'))
> > > None
> > 
> > WFM (returns cygz.dll), do you have the respective -devel packages
> > installed?  Those are also required for find_library.
> 
> still failing for me after installing "python36-devel".

I mean the respective library's -devel package, e.g. zlib-devel for
find_library('z'), etc.

> so the "binutils" dep should be moved from "python36" to "python36-devel". this
> way it only hurts people installing the development python, not also people
> wanting to run "print('hello world')"

Nak.  ctypes is part of the Python standard library and therefore the
dependency needs to be on the main package(s).

BTW, binutils is usually included by default in all but the most
minimal base installs, so I'm not quite sure why you object so much to
this requirement.

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019