[qmtest] [b,s]dist creation
Mark Mitchell
mark at codesourcery.com
Sat Sep 13 00:46:15 UTC 2003
> Unfortunately the original code is not that well designed, so to merge
> these two changes in I have to copy&paste some very lengthy
> functions :-(
Bummer.
> bdist_wininst calls 'install' with the 'install_data' parameter (and others) set to
> some special path that is only used temporarily, i.e. inside the distribution
> directory structure. The final install paths, i.e. the ones where the installer
> puts the files are different.
Thanks for looking into this.
OK, so that means that the idea of writing out QM_HOME in install_data
doesn't work. We have to be able to autodetect QM_HOME -- but we wanted
to do that anyhow.
Now, on UNIX, we (used to) use the logic in the "qmtest" shell script to
find QM_HOME. Now that we're invoking "qmtest.py" directly, this might
be even easier. Presumably, sys.argv[0] contains the path to qmtest.py
(possibly relative to the current directory). So, maybe now is the time
to get rid of QM_HOME? Instead, deduce it in qmtest.py, based on
sys.argv[0].
Nathaniel, any thoughts?
--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
More information about the qmtest
mailing list