Cygwin packages with unnecessary __pycache__ directories
Wed Dec 1 06:43:12 GMT 2021
On 01.12.2021 02:42, Doug Henderson via Cygwin wrote:
> On Tue, 30 Nov 2021 at 10:45, Adam Dinwoodie <email@example.com> wrote:
>> 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.
> When the '__pychache__' folder or the cached files are not present after
> installing the package, I believe the user may need to build them in an
> elevated shell.
In this case I see no reason to not provide them
More information about the Cygwin