Éric Araujo <[email protected]> added the comment:
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.
----------
nosy: +higery, jlove, pmoore
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13193>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com