Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 11:48:02 +1000
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        paul beard <paulbeard@gmail.com>
Cc:        python@freebsd.org
Subject:   Re: This seems messed up [py-setuptools]
Message-ID:  <534F32D2.1070107@FreeBSD.org>
In-Reply-To: <CAMtcK2ra8th2y_xJ-RCUS8Hn2kjS2QCP1K6Pfw75XqNNSNOd6A@mail.gmail.com>
References:  <CAMtcK2ocBN=E5Vep38KDhiY30asJ1iEd5d-_PkvqFfEY-q4mYw@mail.gmail.com>	<534E264A.7020106@FreeBSD.org> <CAMtcK2ra8th2y_xJ-RCUS8Hn2kjS2QCP1K6Pfw75XqNNSNOd6A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17/04/2014 1:16 AM, paul beard wrote:
> On Tue, Apr 15, 2014 at 11:42 PM, Kubilay Kocak <koobs.freebsd@gmail.com> wrote:
>>
>> Please have a read of /usr/ports/UPDATING entry 20140307, with tl;dr:
> 
> 
> From the URL listed there:
>>
>> If you have any questions, or are unsure whether you can remove a
>> particular entry or not, either:
>> - Delete it, then reinstall devel/py-setuptoolsXY for good measure, OR
>> - Check with us on the mailing list or at #freebsd-python on freenode IRC
> 
> 
> I deleted it more than once but apparently it was the
> /usr/local/lib/python2.7/site-packages/distribute-0.6.35-py2.7.egg
> file that was the issue. In the old days, before pkgng, there was a
> way to find files that weren't registered to a port. I should perhaps
> have thought to use that if it still exists.
> 
> 

Paul,

If you have distribute installed in your site-packages (whether or not
you have the port/package installed), you'll want to remove that as well.

Background:

In the past year the Python team have taken (in order) the following
steps to track changes in Python packaging:

1) Replace setuptools 0.6.x with distribute
2) Replace distribute with setuptools 0.7.x+ [1]

Note that setuptools (0.6 and 0.7+) and distribute *all* provide the
'setuptools' python module and corresponding files. py-distribute was
deleted on Nov 29 2013 [2].

For more detail on the effect having multiple or stale versions of these
left installed, see:

http://lists.freebsd.org/pipermail/freebsd-python/2014-April/006828.html

[1] https://pythonhosted.org/setuptools/merge.html
[2] http://svnweb.freebsd.org/ports?view=revision&revision=335167

We're also available to assist on #freebsd-python on IRC (freenode) if
you need anything :)

Koobs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?534F32D2.1070107>