updated netns builds to properly place data_files from setup.py

This commit is contained in:
Blake Harnden 2019-05-04 23:38:55 -07:00
parent 41a78397e3
commit b7534f7cc5
2 changed files with 2 additions and 1 deletions

View file

@ -42,6 +42,7 @@ install-exec-local:
--root=/$(DESTDIR) \
--prefix=$(prefix) \
--install-lib=$(pythondir) \
--install-data=$(prefix) \
--single-version-externally-managed \
--no-compile

View file

@ -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