package_data was missing the .txt files in the testing directories. This was causing

the test suite to fail when IPtyhon was installed.  I have modified find_package_data
in setupbase.py to include these files.  Anyone who writes tests that rely on .txt 
files needs to add them to the package_data.
This commit is contained in:
Brian E Granger 2008-07-01 22:19:24 -06:00
parent b31c7b2ebf
commit 0e08b770a0

View File

@ -124,7 +124,11 @@ def find_package_data():
"""
# This is not enough for these things to appear in an sdist.
# We need to muck with the MANIFEST to get this to work
package_data = {'IPython.UserConfig' : ['*'] }
package_data = {
'IPython.UserConfig' : ['*'],
'IPython.tools.tests' : ['*.txt'],
'IPython.testing' : ['*.txt']
}
return package_data