From 0e08b770a0f77e280960f7876a36497d4a42fd1d Mon Sep 17 00:00:00 2001 From: Brian E Granger Date: Tue, 1 Jul 2008 22:19:24 -0600 Subject: [PATCH] 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. --- setupbase.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setupbase.py b/setupbase.py index c1d9a3a39..657596a79 100644 --- a/setupbase.py +++ b/setupbase.py @@ -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