[Checkins] SVN: zope.configuration/trunk/ - Insert absolute path in
sys.path for testing
Baiju M
baiju.m.mail at gmail.com
Sun Oct 22 03:42:57 EDT 2006
Log message for revision 70876:
- Insert absolute path in sys.path for testing
- zope.i18n is no more a dependency, but zope.i18nmessageid
Changed:
U zope.configuration/trunk/setup.py
U zope.configuration/trunk/test.py
-=-
Modified: zope.configuration/trunk/setup.py
===================================================================
--- zope.configuration/trunk/setup.py 2006-10-22 04:10:51 UTC (rev 70875)
+++ zope.configuration/trunk/setup.py 2006-10-22 07:42:56 UTC (rev 70876)
@@ -50,7 +50,7 @@
namespace_packages=['zope',],
tests_require = ['zope.testing'],
install_requires=['zope.deprecation',
- 'zope.i18n',
+ 'zope.i18nmessageid',
'zope.interface',
'zope.schema',
],
Modified: zope.configuration/trunk/test.py
===================================================================
--- zope.configuration/trunk/test.py 2006-10-22 04:10:51 UTC (rev 70875)
+++ zope.configuration/trunk/test.py 2006-10-22 07:42:56 UTC (rev 70876)
@@ -21,7 +21,8 @@
import os, sys
-src = os.path.join(os.path.split(sys.argv[0])[0], 'src')
+here = os.path.abspath(os.path.dirname(sys.argv[0]))
+src = os.path.join(here, 'src')
sys.path.insert(0, src) # put at beginning to avoid one in site_packages
from zope.testing import testrunner
More information about the Checkins
mailing list