From owner-freebsd-python@freebsd.org Tue Apr 26 13:39:16 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 C80E8B1D52C for ; Tue, 26 Apr 2016 13:39:16 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 696B61CDA for ; Tue, 26 Apr 2016 13:39:15 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp118-210-182-127.lns20.adl6.internode.on.net (HELO leader.local) ([118.210.182.127]) by ipmail06.adl6.internode.on.net with ESMTP; 26 Apr 2016 23:04:05 +0930 Subject: Re: PYDISTUTILS_INSTALLNOSINGLE error To: Ben Woods References: <571C3018.6020809@ShaneWare.Biz> Cc: freebsd-python@freebsd.org From: Shane Ambler Message-ID: <571F6E49.3030500@ShaneWare.Biz> Date: Tue, 26 Apr 2016 23:04:01 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2016 13:39:16 -0000 On 25/04/2016 20:54, Ben Woods wrote: > On 24 April 2016 at 04:31, Shane Ambler wrote: > >> On 23/04/2016 17:16, Ben Woods wrote: >> >>> Hi everyone, >>> >>> Does anyone know why PYDISTUTILS_INSTALLNOSINGLE is marked as deprecated? >>> It is still used by 9 ports... >>> >>> I am working on an update to multimedia/quodlibet in PR208988, and it >>> gives >>> the warning "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use >>> it anymore". However, if I remove that line from the Makefile, the build >>> fails with "error: option --single-version-externally-managednot >>> recognized". >>> >>> --single-version-externally-managed is added by USES=python if you dont >>> set >>> PYDISTUTILS_INSTALLNOSINGLE=yes. >>> > In fact, I think it may be that the setup.py that comes bundled with the > multimedia/quodlibet software does not support > --single-version-externally-managed and therefore requires > PYDISTUTILS_INSTALLNOSINGLE=yes? Just had a look at the new version and the issue comes from using gdist for distclass If you remove 'distclass': GDistribution, from setup_kwargs then you no longer get the error, but you get other warnings from distclass related settings. -- FreeBSD - the place to B...Software Developing Shane Ambler