lang/python3* ports, __pycache__ included
Kyle Evans
kevans91 at ksu.edu
Mon Dec 12 22:49:37 UTC 2016
On Mon, Dec 12, 2016 at 3:51 PM, Marcus von Appen <mva at freebsd.org> wrote:
> Hi Kyle,
>
>> [snip]
>
> this is a python3 specific change in how python deals with optimized
> bytecode files.
> We ship .pyc/.pyo files for python2 ports and __pycache__ bits for python3,
> so there
> is no change in packaging behaviour except from "sticking to the default".
Ahh, ok, that makes sense.
>> [snip]
>
> Few years ago, we already had an idea about that. You can read it at
> https://wiki.freebsd.org/Python/CompiledPackages. If space is a major
> concern
> for you (but a small drawback in runtime performance is not), let us know,
> so we put it up on the agenda (again).
In some of my environments, it definitely is a concern. In one or two
applications, I have limited disk size to work with but a lot of
memory to otherwise operate on -- so these things being created at
runtime isn't much issue, but having them on disk tends towards
problematic.
Given that this is not a very 'black or white' problem (as evident
from the CompiledPackages wiki page), I will strip these entries from
the pkg-plist myself for the time being and maybe work on finding time
to assist in a better solution for the whole.
More information about the freebsd-python
mailing list