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) \ --root=/$(DESTDIR) \
--prefix=$(prefix) \ --prefix=$(prefix) \
--install-lib=$(pythondir) \ --install-lib=$(pythondir) \
--install-data=$(prefix) \
--single-version-externally-managed \ --single-version-externally-managed \
--no-compile --no-compile

View file

@ -31,7 +31,7 @@ setup(
name="core-netns", name="core-netns",
version="@PACKAGE_VERSION@", version="@PACKAGE_VERSION@",
description="Extension modules to support virtual nodes using Linux network namespaces", description="Extension modules to support virtual nodes using Linux network namespaces",
scripts=["vcmd", "vnoded", "netns"], data_files=[("bin", ["vcmd", "vnoded", "netns"])],
ext_modules=[ ext_modules=[
netns, netns,
vcmd vcmd