Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2014 19:45:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-python@FreeBSD.org
Subject:   [Bug 191865] devel/py-setuptools: pkg_resources.find_distributions fails to find math/py-numpy under Py3k
Message-ID:  <bug-191865-17421-87UVotPzpg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191865-17421@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191865-17421@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191865

--- Comment #10 from John W. O'Brien <john@saltant.com> ---
What was different is that on one machine,
/usr/local/lib/python2.7/site-packages/numpy-1.8.1-py2.7.egg-info existed, and
on the other it didn't. This is a problem because the
pkg_resources.find_distributions function ends up using the
pkg_resources.find_on_path finder for the site-packages directory, which only
pays attention to directory entries ending in one of ['.egg-info', '.egg',
'.egg-link']. When I copied the .egg-info directory from one machine to the
other, pkg_resources.find_distributions found numpy.

So, this is looking more like a numpy or ports infrastructure bug, not so much
like a setuptools bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191865-17421-87UVotPzpg>