Fixed location of installed Python scripts. This relates to bug 1146.

r14.0.x
Michele Calgaro 10 years ago
parent 76a7ec0e3f
commit 7aa39b59b0

@ -1,16 +1,16 @@
PREFIX = '/usr' PREFIX = '/usr'
DESTDIR = '/' DESTDIR = '/'
PYTHON_SITELIB=$(shell python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
#interfaces = 'gtk qt4' #interfaces = 'gtk qt4'
all: all:
@python setup.py build @python setup.py build
install: install:
@python setup.py install --prefix=${PREFIX} --root=${DESTDIR} @python setup.py install --prefix=${PREFIX} --root=${DESTDIR} --install-lib=${PYTHON_SITELIB}
uninstall: uninstall:
@python setup.py uninstall @python setup.py uninstall
clean: clean:
rm -rf build/ rm -rf build/

Loading…
Cancel
Save