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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2017 Cisco and/or its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import os
from glob import glob
from platform import dist
# XXX
from setuptools import find_packages, setup
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as version_file:
version = version_file.read().strip()
# Like VERSION, this file is made available through MANIFEST.in
with open('README.md') as f:
long_description = f.read()
# XXX TODO
required_modules = ["pylxd (>=2.2.2)",
"pyparsing",
"networkx (==1.11)",
"autobahn"]
# "pyOpenSSL"]
data_files = list()
data_files.extend([
("/lib/systemd/system", ["etc/netmon.service"]),
("/etc/init", ["etc/netmon.conf"]),
])
setup(
name = 'vicn',
version = version,
description = 'vICN experiment controller',
long_description = long_description,
license = 'Apache 2.0',
download_url = 'https://gerrit.fd.io/r/cicn',
url = 'https://wiki.fd.io/view/Vicn',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Software Development :: Build Tools',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords = 'Experiment Controller; Orchestrator; ICN; LXC; Containers',
platforms = "Linux, OSX",
packages = find_packages(),
data_files = data_files,
requires = required_modules,
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points = {
'console_scripts': [
'vicn = vicn.bin.vicn:main',
],
},
)
setup(
name = 'netmon',
version = version,
description = 'Netmon',
long_description = long_description,
license = 'Apache 2.0',
download_url = 'https://gerrit.fd.io/r/cicn',
url = 'https://wiki.fd.io/view/Vicn',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Software Development :: Build Tools',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords = 'Experiment Controller; Orchestrator; ICN; LXC; Containers',
platforms = "Linux, OSX",
packages = find_packages(),
data_files = data_files,
install_requires = required_modules,
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points = {
'console_scripts': [
'netmon = netmon.bin.netmon:main',
],
},
)
|