Failure in setuptools.tests.test_easy_install.TestEasyInstallTest

Dirkjan Ochtman avatarDirkjan Ochtman created an issue

With 0.6.36, happens with both Python 2.7 and 3.2 (on Gentoo Linux).

ERROR: test_install_site_py (setuptools.tests.test_easy_install.TestEasyInstallTest)
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/setuptools-0.6.36/work/distribute-0.6.36-python2_7/setuptools/tests/", line 70, in test_install_site_py
  File "/var/tmp/portage/dev-python/setuptools-0.6.36/work/distribute-0.6.36-python2_7/setuptools/command/", line 1291, in install_site_py
    source = resource_string(Requirement.parse("distribute"), "")
  File "/var/tmp/portage/dev-python/setuptools-0.6.36/work/distribute-0.6.36-python2_7/", line 927, in resource_string
    self, resource_name
  File "/var/tmp/portage/dev-python/setuptools-0.6.36/work/distribute-0.6.36-python2_7/", line 1200, in get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
  File "/var/tmp/portage/dev-python/setuptools-0.6.36/work/distribute-0.6.36-python2_7/", line 1327, in _get
    stream = open(path, 'rb')
IOError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/setuptools-0.6.36/work/distribute-0.6.36-python2_7/build/'

Comments (2)

  1. Erik Bray

    I believe some distributions may have outright removed the replacement since it's deprecated. Perhaps this test should check for its existence first and skip if it's not found. I'm not exactly sure that that's the issue though--that's just what I'm getting from a quick glance.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.