On Wed, Nov 07, 2007 at 03:44:26PM +0000, Niels Nes wrote:
> Update of /cvsroot/monetdb/MonetDB/src/testing
> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21513
>
> Modified Files:
> Mtest.py.in
> Log Message:
>
> added pythonlibdir (obtained from monetdb-config and monetdb-clients-config)
> into the PYTHONPATH (in an attempt to fix the problems with tests using
> MonetSQLdb)
should the respective test do this locally?
I recall addint something like this to (some of) the MonetSQLdb tests ...
Stefan
>
>
>
> Index: Mtest.py.in
> ===================================================================
> RCS file: /cvsroot/monetdb/MonetDB/src/testing/Mtest.py.in,v
> retrieving revision 1.320
> retrieving revision 1.321
> diff -u -d -r1.320 -r1.321
> --- Mtest.py.in 2 Nov 2007 07:31:36 -0000 1.320
> +++ Mtest.py.in 7 Nov 2007 15:44:24 -0000 1.321
> @@ -102,6 +102,17 @@
> import distutils.sysconfig
> p =
> _configure(os.path.join('@QXprefix@',distutils.sysconfig.get_python_lib(1,0,"")))
> sys.path.insert(0, p)
> + try:
> + q = GetConfig('monetdb-config', '--pythonlibdir')
> + p = p + os.pathsep + q
> + except:
> + None
> + try:
> + q = GetConfig('monetdb-clients-config', '--pythonlibdir')
> + p = p + os.pathsep + q
> + p = p + os.pathsep + q + os.sep + 'MonetDB'
> + except:
> + None
> from MonetDB import monet_options
> if os.environ.has_key('PYTHONPATH'):
> p = p + os.pathsep + os.environ['PYTHONPATH']
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Monetdb-checkins mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
>
>
--
| Dr. Stefan Manegold | mailto:[EMAIL PROTECTED] |
| CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ |
| 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 |
| The Netherlands | Fax : +31 (20) 592-4312 |
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers