Skip to contentSkip to conversation

Install python tools with --force option

PATCH New Akio Takebe 1 participant 1 message Mar 7, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Install python tools with --force option

Hi,

When I reinstall tools, new tools/python are not installed. This is cause by being overwriten at "python setup.py install".

Please check your /usr/lib/python is changed to new one.
I think tools/python should be installed with "--force" option at reinstalling. Otherwise should we use "make uninstall" at reinstalling?

tools/python/Makefile Tue Mar 7 19:28:32 2006 renamed from tools/python/Makefile Mon Mar 6 19:29:39 2006 +2 -2
diff -r d60392d5b818 tools/python/Makefile
@@ -9,10 +9,10 @@
 
 ifndef XEN_PYTHON_NATIVE_INSTALL
 install: all
-       CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr"
+       CFLAGS="$(CFLAGS)" python setup.py install --home="$(DESTDIR)/usr" --force
 else
 install: all
-       CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)"
+       CFLAGS="$(CFLAGS)" python setup.py install --root="$(DESTDIR)" --force
 endif
 
 test:

Best Regards,

Akio Takebe