From owner-freebsd-python@freebsd.org Mon Dec 12 22:12:49 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70736C74DB4 for ; Mon, 12 Dec 2016 22:12:49 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5DEA0FA5 for ; Mon, 12 Dec 2016 22:12:49 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5D4B9C74DB2; Mon, 12 Dec 2016 22:12:49 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5CF4AC74DB1 for ; Mon, 12 Dec 2016 22:12:49 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23C17FA4 for ; Mon, 12 Dec 2016 22:12:48 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from [78.52.79.247] (helo=[192.168.35.21]) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1cGYVN-0000s0-75; Mon, 12 Dec 2016 22:51:29 +0100 From: "Marcus von Appen" To: "Kyle Evans" , python@freebsd.org Subject: Re: lang/python3* ports, __pycache__ included Date: Mon, 12 Dec 2016 21:51:29 +0000 Message-Id: In-Reply-To: References: Reply-To: "Marcus von Appen" User-Agent: eM_Client/7.0.27943.0 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: ZnJlZWJzZEBzeXNmYXVsdC5vcmc= X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Dec 2016 22:12:49 -0000 Hi Kyle, On 12/12/2016 7:54:18 PM, "Kyle Evans" wrote: >Hello! > >Out of curiosity, is there a specific reason that the lang/python3* >ports all include various __pycache__ bits while these were not >present, at least, in lang/python27? this is a python3 specific change in how python deals with optimized=20 bytecode files. We ship .pyc/.pyo files for python2 ports and __pycache__ bits for=20 python3, so there is no change in packaging behaviour except from "sticking to the=20 default". > >I ask because this seems to be a decent amount of fat added to the >resulting packages that I'd rather not have in the environments of >some personal applications I am developing, and I don't particularly >see a need that they these directories need to stick around. Space is, >unfortunately, an issue that I worry about. =3D) 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=20 concern for you (but a small drawback in runtime performance is not), let us=20 know, so we put it up on the agenda (again). Cheers Marcus