mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
bitkeeper revision 1.1159.170.89 (41e4ef8aHmcX3lP2zVDZBpN59cSX6A)
Python packages always install to ${prefix}/us/lib/python/xen/...
This commit is contained in:
1 parent
d51faf6cce
commit
cf36fcf0e3
5 files changed
+5
-11
No files matched your search
+1
-1
@@ -10,7 +10,7 @@
|
||||
from getopt import getopt
|
||||
|
||||
# Default install path for Xen binary packages.
|
||||
sys.path.append('/lib/python')
|
||||
sys.path = [ '/usr/lib/python' ] + sys.path
|
||||
from xen.util.Brctl import *
|
||||
|
||||
short_options = 'hvqni:b:c'
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import os
|
||||
import sys
|
||||
|
||||
# Default install path for Xen binary packages.
|
||||
sys.path.append('/lib/python')
|
||||
sys.path = [ '/usr/lib/python' ] + sys.path
|
||||
from xen.xend.server import SrvDaemon
|
||||
|
||||
class CheckError(ValueError):
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ import sys
|
||||
import re
|
||||
|
||||
# Default install path for Xen binary packages.
|
||||
sys.path.append('/lib/python')
|
||||
sys.path = [ '/usr/lib/python' ] + sys.path
|
||||
from xen.xend.server.params import XEND_PID_FILE
|
||||
|
||||
class CheckError(ValueError):
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
import sys
|
||||
|
||||
# Default install path for Xen binary packages.
|
||||
sys.path.append('/lib/python')
|
||||
sys.path = [ '/usr/lib/python' ] + sys.path
|
||||
from xen.xm import main
|
||||
|
||||
main.main(sys.argv)
|
||||
@@ -3,13 +3,7 @@ all:
|
||||
python setup.py build
|
||||
|
||||
install: all
|
||||
if [ "$(prefix)" = "" ]; then \
|
||||
python setup.py install; \
|
||||
elif [ "$(dist)" = "yes" ]; then \
|
||||
python setup.py install --home="$(prefix)"; \
|
||||
else \
|
||||
python setup.py install --root="$(prefix)"; \
|
||||
fi
|
||||
python setup.py install --home="$(prefix)/usr"
|
||||
|
||||
clean:
|
||||
rm -rf build *.pyc *.pyo *.o *.a *~
|
||||