2013-08-29 15:21:13 +01:00
|
|
|
# Copyright (c)2010-2012 the Boeing Company.
|
|
|
|
# See the LICENSE file included in this distribution.
|
|
|
|
|
2017-04-25 16:45:34 +01:00
|
|
|
from setuptools import setup, Extension
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2017-04-25 16:45:34 +01:00
|
|
|
netns = Extension(
|
|
|
|
"netns",
|
|
|
|
sources=[
|
|
|
|
"netnsmodule.c",
|
|
|
|
"netns.c"
|
|
|
|
]
|
|
|
|
)
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2017-04-25 16:45:34 +01: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(
|
|
|
|
name="core-python-netns",
|
|
|
|
version="1.0",
|
|
|
|
description="Extension modules to support virtual nodes using "
|
|
|
|
"Linux network namespaces",
|
|
|
|
ext_modules=[
|
|
|
|
netns,
|
|
|
|
vcmd
|
|
|
|
],
|
|
|
|
url="http://www.nrl.navy.mil/itd/ncs/products/core",
|
|
|
|
author="Boeing Research & Technology",
|
2017-12-18 23:50:28 +00:00
|
|
|
author_email="core-dev@nrl.navy.mil",
|
2017-04-25 16:45:34 +01:00
|
|
|
license="BSD",
|
|
|
|
long_description="Extension modules and utilities to support virtual "
|
|
|
|
"nodes using Linux network namespaces"
|
|
|
|
)
|