mailr18790 - /trunk/test_suite/unit_tests/_lib/test___init__.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on March 12, 2013 - 11:13:
Author: bugman
Date: Tue Mar 12 11:13:06 2013
New Revision: 18790

URL: http://svn.gna.org/viewcvs/relax?rev=18790&view=rev
Log:
Fixes for the unit test __all__ list checking for the lib package for the Mac 
OS X application.

For some reason the py2app extension which creates the app merges the Python 
installation directory
Resources/lib/python2.7 and the relax lib package into Resources/lib.  Now 
'python2.7' is
blacklisted when checking the lib package so that the parasitic Python 
install location is ignored.


Modified:
    trunk/test_suite/unit_tests/_lib/test___init__.py

Modified: trunk/test_suite/unit_tests/_lib/test___init__.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/test___init__.py?rev=18790&r1=18789&r2=18790&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/test___init__.py (original)
+++ trunk/test_suite/unit_tests/_lib/test___init__.py Tue Mar 12 11:13:06 2013
@@ -37,3 +37,6 @@
         self.package = lib
         self.package_name = 'lib'
         self.package_path = sys.path[0] + sep + 'lib'
+
+        # Mac OS X application fix:  Handle the py2app extension placing the 
Python directories into Resources/lib/python2.7 (Resources/lib is the relax 
lib package).
+        self.blacklist = ['python2.7']




Related Messages


Powered by MHonArc, Updated Tue Mar 12 11:40:02 2013