2018-01-04 14:33:25 -08:00
|
|
|
"""
|
|
|
|
Defines how CORE netns will be build for installation.
|
|
|
|
"""
|
2013-08-29 14:21:13 +00:00
|
|
|
|
2017-04-25 08:45:34 -07:00
|
|
|
from setuptools import setup, Extension
|
2018-01-04 14:33:25 -08:00
|
|
|
|
|
|
|
|
2017-04-25 08:45:34 -07:00
|
|
|
netns = Extension(
|
|
|
|
"netns",
|
|
|
|
sources=[
|
|
|
|
"netnsmodule.c",
|
|
|
|
"netns.c"
|
|
|
|
]
|
|
|
|
)
|
2013-08-29 14:21:13 +00:00
|
|
|
|
2017-04-25 08:45:34 -07:00
|
|
|
vcmd = Extension(
|
|
|
|
"vcmd",
|
|
|
|
sources=[
|
|
|
|
"vcmdmodule.c",
|
|
|
|
"vnode_client.c",
|
|
|
|
"vnode_chnl.c",
|
|
|
|
"vnode_io.c",
|
|
|
|
"vnode_msg.c",
|
|
|
|
"vnode_cmd.c",
|
|
|
|
],
|
|
|
|
library_dirs=["build/lib"],
|
|
|
|
libraries=["ev"]
|
|
|
|
)
|
|
|
|
|
|
|
|
setup(
|
2017-12-19 09:43:19 -08:00
|
|
|
name="core-netns",
|
2019-03-25 10:44:47 -07:00
|
|
|
version="@PACKAGE_VERSION@",
|
2017-12-19 09:43:19 -08:00
|
|
|
description="Extension modules to support virtual nodes using Linux network namespaces",
|
2017-12-21 16:19:12 -08:00
|
|
|
scripts=["vcmd", "vnoded", "netns"],
|
2017-04-25 08:45:34 -07:00
|
|
|
ext_modules=[
|
|
|
|
netns,
|
|
|
|
vcmd
|
|
|
|
],
|
2019-03-30 21:19:00 -07:00
|
|
|
url="https://github.com/coreemu/core",
|
2017-04-25 08:45:34 -07:00
|
|
|
author="Boeing Research & Technology",
|
|
|
|
license="BSD",
|
2018-01-04 14:33:25 -08:00
|
|
|
long_description="Extension modules and utilities to support virtual nodes using Linux network namespaces",
|
2017-04-25 08:45:34 -07:00
|
|
|
)
|