-
Notifications
You must be signed in to change notification settings - Fork 173
/
Copy pathsetup.py.in
43 lines (38 loc) · 922 Bytes
/
setup.py.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
"""
Defines how CORE netns will be build for installation.
"""
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"]
)
setup(
name="core-netns",
version="@PACKAGE_VERSION@",
description="Extension modules to support virtual nodes using Linux network namespaces",
scripts=["vcmd", "vnoded", "netns"],
ext_modules=[
netns,
vcmd
],
url="https://github.com/coreemu/core",
author="Boeing Research & Technology",
license="BSD",
long_description="Extension modules and utilities to support virtual nodes using Linux network namespaces",
)