[Xapian-devel] Available backends in xapian.h

Olly Betts olly at survex.com
Fri May 6 18:01:25 BST 2005


On Thu, May 05, 2005 at 02:06:58AM +0100, Olly Betts wrote:
> > There is more however: for MinGW/MSYS the path separator is a colon (as
> > in UNIX), but for Python, $PYTHONPATH must have semicolons on Win32.
> 
> I guess this is inevitable since Python is aiming to be a native Windows
> application.
> 
> Is there an easy way to get python to tell us what the character
> should be?  It seems messy to have our own logic to decide based on
> the OS we're running under.

There is an easy way:

python -c 'import os;print os.pathsep'

Patched in SVN.

Cheers,
    Olly




More information about the Xapian-devel mailing list