public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin packages with unnecessary __pycache__ directories
@ 2021-11-30 17:44 Adam Dinwoodie
  2021-12-01  1:42 ` Doug Henderson
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Dinwoodie @ 2021-11-30 17:44 UTC (permalink / raw)
  To: Cygwin (cygwin@cygwin.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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-01  6:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 17:44 Cygwin packages with unnecessary __pycache__ directories Adam Dinwoodie
2021-12-01  1:42 ` Doug Henderson
2021-12-01  6:43   ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).