Message145685
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. |
|
Date |
User |
Action |
Args |
2011-10-17 12:57:07 | eric.araujo | set | recipients:
+ eric.araujo, paul.moore, pitrou, tarek, alexis, jlove, higery |
2011-10-17 12:57:07 | eric.araujo | set | messageid: <1318856227.83.0.472437571242.issue13193@psf.upfronthosting.co.za> |
2011-10-17 12:57:07 | eric.araujo | link | issue13193 messages |
2011-10-17 12:57:06 | eric.araujo | create | |
|