[qmtest] running qmtest on bash in cygwin...
Zack Weinberg
zack at codesourcery.com
Sat Aug 23 02:24:56 UTC 2003
Stefan Seefeld <seefeld at sympatico.ca> writes:
> What about a build procedure purely based on python's distutils package ?
> The setup.py scripts can contain different sets of files to install:
>
> * python modules
> * data files
> * scripts
>
> And with 'python setup.py --prefix=...' or 'python setup.py
> --home=...' you have pretty much complete control over where
> everything is installed. There are even more fine-grained options to
> specifically control scripts, data files, and modules, if the above
> isn't sufficient.
>
> The default installation would put the modules under python's site-packages,
> and the rest into /usr/local/[share, bin], which is what I would expect
> from a typical debian / rpm package.
>
> And for those who want everything in a single isolated place, an installation
> using the '--home' parameter would probably do the trick. In any case, the
> main executable could be a python script, and some little experimentation
> suggests that the qm/test/qmtest.py file is almost ready to serve, i.e.
> the qmtest.[bat, sh] files aren't really needed then.
> There are only two parameters: the PYTHONPATH, if the modules are not
> in the default location, and a variable (which could be substituted into
> an installed module) that indicates the location of the data files.
> That's about it.
My understanding is that this is a desired change, but none of us know
how to do it. I know I looked into this at one point and found that
distutils was not sufficiently documented for me to be able to do
anything with it.
Mark may have more specific concerns.
zw
More information about the qmtest
mailing list