On 2007-09-11 21:31, Stefan Manegold wrote: > On Tue, Sep 11, 2007 at 09:26:03PM +0200, Stefan Manegold wrote: >> On Tue, Sep 11, 2007 at 11:11:49AM +0000, Sjoerd Mullender wrote: >>> Update of /cvsroot/monetdb/MonetDB/src/testing >>> In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17756/src/testing >>> >>> Modified Files: >>> Makefile.ag Mtest.py.in >>> Log Message: >>> Put Python files in their own Python module MonetDB. >>> In the RPMs, put Python files in the Python hierarchy. >>> Created a new RPM MonetDB-python which contains monet_options.py and other >>> such files. >>> Added merovingian man page to RPM. >>> Fixed MonetDB5 spec file. >>> Removed Python ODBC interface: it was not directly related to MonetDB. >> These changes requires to set >> PYTHONPATH="MONETDB_PREFIX/`python -c 'import distutils.sysconfig; print >> distutils.sysconfig.get_python_lib(0,0,"")'`" > > ^ > typo > | > > V > PYTHONPATH="MONETDB_PREFIX/`python -c 'import distutils.sysconfig; print > distutils.sysconfig.get_python_lib(1,0,"")'`" > > Stefan > >> before calling Mtest.py, unless MONETDB_PREFIX is /usr . >> >> Should we consider making Mtest.py search automatically for modules in the >> above path >> (as it IMHO did before), or shall we just document the above requirement?
We already have a requirement to set PYTHONPATH for the benefit of autogen, so we might as well add this requirement. We could possibly set it in RunMtest as well. I didn't notice since I already had this in my PYTHONPATH. -- Sjoerd Mullender ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Monetdb-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-developers
