delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/30/12:44:52

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 906743858414
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=dinwoodie.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinwoodie.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=dinwoodie.org; s=google;
h=mime-version:from:date:message-id:subject:to;
bh=x7L53qI62M2wEDCJctkCdrTF1sqopOgYFGXpLIJTn7I=;
b=kfWOm7YnTx4Tpb4SbrQBX95UvyRqu3LrvBasVqYdSuzaHVrMA1u+Zom+XLGr+vTkaZ
K+8vygJDAxgeQUkB+xftdt71yV7C8floPHzQTKBHr5dUTmaTebrcMRa6BFnNScyG+Wts
tAX7b7zYBqe08c3yihjSh6HSvi5ZDN7YopyhY=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=x7L53qI62M2wEDCJctkCdrTF1sqopOgYFGXpLIJTn7I=;
b=1VCoj4pEG/TLx9XT3hPhjustE2z/ywdRAnd82aFy+iNETZQBCqKMsi9sdL/47x167g
5t+ufP3Q2m24hRoUZ6pbMDTdhE/qyuzVDq5oRoEAC40GM9S4Wwcu1QXpxshKsRZ6jiSC
nxENAmIgQmjVpARMV+RJx2gftc5vvaV4Hdf/zR2eL3lnKLWZhTxDXRi4NaYSYDjv/nKe
foLR0gQZUTl2zQPGEKZsccG2fyF9RzyiF+gFdLEi49v9NyEUeu8F7utPd5Z30ZH0TGyj
ZST0ByNvzcOwy16c83srYIlUlAbHZ0L9a0Ki13KLX0M15N2zdPa8Z4YYZYb8uG0eKsHR
0b3A==
X-Gm-Message-State: AOAM531tpAUlC3e+Z/pCUmV1MGEpmzXE5qBKnkL0WtM0Lw0dPBNsZ0Da
9dpfgAPMqnH+iLfnALUsrbgrKTJcPY1ASub8jBZPAE+xVLKBUQ==
X-Google-Smtp-Source: ABdhPJyLbc9V1Tz2qbNQyReNhuzTHXiJ1GL+yslls2EuGdjGlj+ps6WosL97s0cz5WpH21r7QvHJvJ6+qpuZn2dIYDs=
X-Received: by 2002:a25:4c9:: with SMTP id 192mr642167ybe.260.1638294273453;
Tue, 30 Nov 2021 09:44:33 -0800 (PST)
MIME-Version: 1.0
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
Date: Tue, 30 Nov 2021 17:44:06 +0000
Message-ID: <CA+kUOa=_B-xnx2pGDTLYuN-w68cu8DzQ_UcyHckSWE7F_O+idg@mail.gmail.com>
Subject: Cygwin packages with unnecessary __pycache__ directories
To: "Cygwin (cygwin AT cygwin DOT com)" <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi all,

I spotted earlier today that there are a significant number of Cygwin
packages that seem to include __pycache__ directories in the package.
I'd have expected this to be an error, and any Python code to be
distributed without the __pycache__ directories so that the local
Python installation can compile the bytecode locally. Certainly
distributing these files seems like it would unnecessarily inflate the
size of the affected packages.

Assuming this is actually an issue, and these directories aren't
desirable for some reason that hasn't occurred to me, I suspect fixing
this is most easily achieved by an update to cygport to automatically
exclude those directories. Once that's done, the next time the
affected packages are rebuilt they'd automatically miss these
extraneous files.

There's a list of affected packages at
<https://www.cygwin.com/cgi-bin2/package-grep.cgi?grep=__pycache__&arch=x86_64>.

Adam

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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