[Bug 191865] devel/py-setuptools: pkg_resources.find_distributions fails to find math/py-numpy under Py3k

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 14 19:45:51 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191865

--- Comment #10 from John W. O'Brien <john at 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.


More information about the freebsd-python mailing list