[qmtest] running qmtest on bash in cygwin...

Stefan Seefeld seefeld at sympatico.ca
Wed Aug 20 14:31:33 UTC 2003


Trying to get qmtest up and running on windows with both,
the win32 and the cygwin versions of python, I'm looking
into the toplevel GNUMakefile, and I find the following
lines for a win32 installation:

NATPREFIX       := $(shell cygpath -a -w "$(prefix)")
PYTHON_PKG_PREFIX := $(NATPREFIX)\lib
RELLIBDIR       := lib

Why isn't PYTHON_PKG_PREFIX determined the same way
as it is done for cygwin ? Something like

PYTHON_PKG_PREFIX := $(shell $(PYTHON) -c "import distutils.sysconfig; 
print distutils.sysconfig.get_python_lib()")

returns

c:\python22\Lib\site-packages

which is where third party packages are searched for by default.
Right now the 'qm' package is installed into '/usr/local/lib', which
requires an extra PYTHONPATH environment variable.

Regards,
		Stefan




More information about the qmtest mailing list