From b7534f7cc58a1187e870b85978e01c7c50b9e514 Mon Sep 17 00:00:00 2001 From: Blake Harnden Date: Sat, 4 May 2019 23:38:55 -0700 Subject: [PATCH] updated netns builds to properly place data_files from setup.py --- netns/Makefile.am | 1 + netns/setup.py.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/netns/Makefile.am b/netns/Makefile.am index d000cb8e..53117d9d 100644 --- a/netns/Makefile.am +++ b/netns/Makefile.am @@ -42,6 +42,7 @@ install-exec-local: --root=/$(DESTDIR) \ --prefix=$(prefix) \ --install-lib=$(pythondir) \ + --install-data=$(prefix) \ --single-version-externally-managed \ --no-compile diff --git a/netns/setup.py.in b/netns/setup.py.in index 0866fe5c..917923c4 100644 --- a/netns/setup.py.in +++ b/netns/setup.py.in @@ -31,7 +31,7 @@ setup( name="core-netns", version="@PACKAGE_VERSION@", description="Extension modules to support virtual nodes using Linux network namespaces", - scripts=["vcmd", "vnoded", "netns"], + data_files=[("bin", ["vcmd", "vnoded", "netns"])], ext_modules=[ netns, vcmd