From owner-freebsd-python@FreeBSD.ORG Wed Oct 23 04:23:11 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E9CB2124; Wed, 23 Oct 2013 04:23:11 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AFD9E2F77; Wed, 23 Oct 2013 04:23:11 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id kx10so509784pab.13 for ; Tue, 22 Oct 2013 21:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=JDbPowQfj8XEPp0UxDeA5vzdkj5GEFDhN/z8S3eaVys=; b=Ie1yUTiVVPE3nhCeR9uA40i98y6Ooc2bAdUIDtp5hsSTOv+vKc8aCUhnwgvjrCSzEG OckK1fV6wWESRn7I3AIvtaiSzHXnKzpJrzia5RY9cQ0IvS1GODk12JHrPIYLC0na6C7m LcgnK94qWZdvZTN6udATb6r/gXCJwwNoYfN6XXcO9lwoSTaflIq2SEhC+h2zrH8JjK4s UlWU+8UtfInPt8iY1N6GVuDtjjzmoV4gExQvwIUK/RzFdFQamTK1cM9squ7IN6pCSOny J5UYGPY+jJ3zm/EPo2uec3J5eKeCKlOxCHInRfW5csFwoWlIcBt3l4DPSdKpmut57UFs SPLQ== X-Received: by 10.68.189.40 with SMTP id gf8mr1185963pbc.150.1382502190799; Tue, 22 Oct 2013 21:23:10 -0700 (PDT) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id qw8sm1363705pbb.27.2013.10.22.21.23.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 22 Oct 2013 21:23:10 -0700 (PDT) Message-ID: <52674F28.1060408@FreeBSD.org> Date: Wed, 23 Oct 2013 15:23:04 +1100 From: Kubilay Kocak User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Thunderbird/25.0 MIME-Version: 1.0 To: bug-followup@FreeBSD.org, arcade@b1t.name, python@FreeBSD.org Subject: Re: ports/182332: python packages install packed eggs which makes them unusable for running services X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: koobs@FreeBSD.org List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2013 04:23:12 -0000 Hi Volodymyr, While it is a desirable (and planned) long-terms goal to have consistent behaviour in the ports tree, there is not *yet* a formal or specific documented policy regarding Python module packaging in FreeBSD. A number of maintainers *do* however, make changes to upstream modules by explicitly setting zip_safe=False in setup.py, or overriding the use of setuptools with plain-old distutils, resulting in the module being installed uncompressed. For those modules or ports that *dont* currently do this such as www/trac, the end-user *can* use the PYTHON_EGG_CACHE environment variable that points to a writable area of the filesystem to address the behaviour. In short, I recommend that this PR be changed, assigning it to the maintainer of the www/trac port for follow-up and resolution.