initial commit after bringing over cleaned up code and testing some examples
This commit is contained in:
parent
c4858e6e0d
commit
00f4ebf5a9
93 changed files with 15189 additions and 13083 deletions
|
@ -1,29 +1,43 @@
|
|||
# Copyright (c)2010-2012 the Boeing Company.
|
||||
# See the LICENSE file included in this distribution.
|
||||
|
||||
import os, glob
|
||||
from distutils.core import setup, Extension
|
||||
from setuptools import setup, Extension
|
||||
|
||||
netns = Extension("netns", sources = ["netnsmodule.c", "netns.c"])
|
||||
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"])
|
||||
netns = Extension(
|
||||
"netns",
|
||||
sources=[
|
||||
"netnsmodule.c",
|
||||
"netns.c"
|
||||
]
|
||||
)
|
||||
|
||||
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",
|
||||
author_email = "core-dev@pf.itd.nrl.navy.mil",
|
||||
license = "BSD",
|
||||
long_description="Extension modules and utilities to support virtual " \
|
||||
"nodes using Linux network namespaces")
|
||||
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",
|
||||
author_email="core-dev@pf.itd.nrl.navy.mil",
|
||||
license="BSD",
|
||||
long_description="Extension modules and utilities to support virtual "
|
||||
"nodes using Linux network namespaces"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue