From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by sourceware.org (Postfix) with ESMTPS id 906743858414 for ; Tue, 30 Nov 2021 17:44:34 +0000 (GMT) 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 Received: by mail-yb1-xb2b.google.com with SMTP id d10so55014450ybe.3 for ; Tue, 30 Nov 2021 09:44:34 -0800 (PST) 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 Date: Tue, 30 Nov 2021 17:44:06 +0000 Message-ID: Subject: Cygwin packages with unnecessary __pycache__ directories To: "Cygwin (cygwin@cygwin.com)" Content-Type: text/plain; charset="UTF-8" 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2021 17:44:36 -0000 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 . Adam