diff --git a/daemon/src/Makefile.am b/daemon/src/Makefile.am index 93570150..105c9944 100644 --- a/daemon/src/Makefile.am +++ b/daemon/src/Makefile.am @@ -34,18 +34,13 @@ libnetns_a_SOURCES = netnsmodule.c vcmdmodule.c libnetns.a: SBINDIR=@SBINDIR@ LDFLAGS="$(LDFLAGS) @libev_LIBS@" CFLAGS="$(CFLAGS) @libev_CFLAGS@" $(PYTHON) setup.py build -install: install-exec-hook - # Python libraries install -install-exec-hook: +install-exec-local: SBINDIR=${DESTDIR}/@SBINDIR@ $(PYTHON) setup.py install --prefix=${DESTDIR}/${pyprefix} --install-purelib=${DESTDIR}/${pythondir} --install-platlib=${DESTDIR}/${pyexecdir} --no-compile #python setup.py install --prefix=${DESTDIR}${PYTHON_PREFIX} # Python libraries uninstall uninstall-hook: - rm -f ${sbindir}/vnoded - rm -f ${sbindir}/vcmd - rm -f ${sbindir}/netns rm -f ${pyexecdir}/core_python_netns-1.0-py${PYTHON_VERSION}.egg-info rm -f ${pyexecdir}/netns.so rm -f ${pyexecdir}/vcmd.so diff --git a/daemon/src/setup.py b/daemon/src/setup.py index b432155b..89de2535 100644 --- a/daemon/src/setup.py +++ b/daemon/src/setup.py @@ -20,7 +20,6 @@ setup(name = "core-python-netns", version = "1.0", description = "Extension modules to support virtual nodes using " \ "Linux network namespaces", - data_files = [("sbin", ('vcmd', 'vnoded', 'netns')), ], ext_modules = [netns, vcmd], url = "http://www.nrl.navy.mil/itd/ncs/products/core", author = "Boeing Research & Technology",