Update of /cvsroot/mailman/mailman3
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29678

Modified Files:
        test.py 
Log Message:
Add our special site-packages to sys.path.


Index: test.py
===================================================================
RCS file: /cvsroot/mailman/mailman3/test.py,v
retrieving revision 3.0
retrieving revision 3.1
diff -u -d -r3.0 -r3.1
--- test.py     29 Mar 2004 05:18:49 -0000      3.0
+++ test.py     20 Apr 2004 04:18:13 -0000      3.1
@@ -316,6 +316,10 @@
         # Hack sys.path
         self.cwd = os.getcwd()
         sys.path.insert(0, os.path.join(self.cwd, self.libdir))
+        # XXX Bad hacker
+        pyvers = 'python%s.%s' % sys.version_info[:2]
+        mysitepkg = os.path.join('python', 'lib', pyvers, 'site-packages')
+        sys.path.insert(0, mysitepkg)
         # Hack again for external products.
         global functional
         kind = functional and "functional" or "unit"


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to