This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients alexis, eric.araujo, higery, jlove, paul.moore, pitrou, tarek
Date 2011-10-17.12:57:06
SpamBayes Score 4.3698435e-08
Marked as misclassified No
Message-id <1318856227.83.0.472437571242.issue13193@psf.upfronthosting.co.za>
In-reply-to
Content
The first failure looks like a bug in the manifest recursive-include code:

FAIL: test_process_template (distutils.tests.test_filelist.FileListTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "distutils\tests\test_filelist.py", line 181, in test_process_template
    self.assertEqual(file_list.files, ['d/b.py', 'd/d/e.py'])
AssertionError: Lists differ: [] != ['d/b.py', 'd/d/e.py']


The second one may be a sys.path issue:

ERROR: test_resources (packaging.tests.test_command_install_data.InstallDataTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "packaging\tests\test_command_install_data.py", line 129, in test_resources
    with packaging.database.get_file('Spamlib', 'spamd') as fp:
  File "packaging\database.py", line 649, in get_file
    return open(get_file_path(distribution_name, relative_path),
  File "packaging\database.py", line 644, in get_file_path
    raise LookupError('no distribution named %r found' % distribution_name)
LookupError: no distribution named 'Spamlib' found

The test creates a temporary directory which is inserted at the head of sys.path.  packaging.database.get_distribution should thus find Spamlib-0.1.dist-info.  Can someone with a Windows install help me with this?  Printing sys.path and os.listdir(sys.path[0]) would be a good start.
History
Date User Action Args
2011-10-17 12:57:07eric.araujosetrecipients: + eric.araujo, paul.moore, pitrou, tarek, alexis, jlove, higery
2011-10-17 12:57:07eric.araujosetmessageid: <1318856227.83.0.472437571242.issue13193@psf.upfronthosting.co.za>
2011-10-17 12:57:07eric.araujolinkissue13193 messages
2011-10-17 12:57:06eric.araujocreate