Re: [Monetdb-developers] [Monetdb-checkins] MonetDB4/src/mapi/Tests manyMapiClients.MIL.py, , 1.2, 1.3
On 13-09-2007 23:09:33 +0000, Stefan Manegold wrote:
Update of /cvsroot/monetdb/MonetDB4/src/mapi/Tests In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1511/MonetDB4/src/mapi/Tests
Modified Files: manyMapiClients.MIL.py Log Message:
clean-up: do not play any tricks to find where Mapi.py is installed; rather assume that it is in Python's default search path, or that `monetdb-clients-config --pythonlibdir` is in PYTHONPATH
+# assume module MonetDB is in Python's default search path, +# or `monetdb-clients-config --pythonlibdir` is in PYTHONPATH from MonetDB import Mapi
Alternatively, maybe you can do something like try: from MonetDB import Mapi except ImportError: sys.path.insert(0, "autoconf-path-to-mapi") from MonetDB import Mapi ? Of course using the correct python commands for this so it works.
participants (1)
-
Fabian Groffen