 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [qmtest] --root should not be used to write the config file
- To: Matthias Klose <doko@xxxxxxxxxxxxxxx>
- Subject: Re: [qmtest] --root should not be used to write the config file
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Sun, 30 Mar 2008 13:31:05 -0700
Matthias Klose wrote:
seen in qmtest-2.4; the Debian build installs into a temporary
installation directory, which results in a wrong extension_path in the
config.py file.
Thank you for the patch.
--- qmtest-2.4.orig/qmdist/command/install_lib.py
+++ qmtest-2.4/qmdist/command/install_lib.py
@@ -49,7 +49,7 @@
config_file = join(self.install_dir, 'qm', 'config.py')
self.announce("adjusting config parameters")
i = self.distribution.get_command_obj('install')
- prefix = i.root or i.prefix
+ prefix = i.prefix
extension_path = join('share',
'qmtest',
'site-extensions-%d.%d'%sys.version_info[:2])
Can you explain a little more about what this patch is doing? In
looking at the distutils documentation, I couldn't find anything about
"root". I assume that i.prefix is the --prefix argument provided to
setup.py, but what's i.root?
Thanks,
--
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713
|
|