summaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 170833c6b1331d0f3a297f6ac4b1fd7add218273 (plain)
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
#!/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 = list()

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(),

    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': [
            'vicn  = vicn.bin.vicn:main',
	],
    },
)