blob: cf1257e2702f29d04677e1fd642e6f7c52f9cfe5 [file] [log] [blame]
perales9c701472020-01-17 15:55:13 +01001#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3
4##
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
14# implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17##
18
19from setuptools import setup
20
tierno667d1582019-12-20 12:16:46 +000021_name = "osm_rosdn_arista_cloudvision"
perales9c701472020-01-17 15:55:13 +010022
23README = """
24===========
tierno667d1582019-12-20 12:16:46 +000025osm-rosdn_arista_cloudvision
perales9c701472020-01-17 15:55:13 +010026===========
27
tierno667d1582019-12-20 12:16:46 +000028osm-ro pluging for arista_cloudvision SDN
perales9c701472020-01-17 15:55:13 +010029"""
30
31setup(
32 name=_name,
sousaedu2ad85172021-02-17 15:05:18 +010033 description="OSM ro sdn plugin for arista with CloudVision",
perales9c701472020-01-17 15:55:13 +010034 long_description=README,
sousaedu2ad85172021-02-17 15:05:18 +010035 version_command=(
36 "git describe --match v* --tags --long --dirty",
37 "pep440-git-full",
38 ),
perales9c701472020-01-17 15:55:13 +010039 # version=VERSION,
40 # python_requires='>3.5.0',
sousaedu2ad85172021-02-17 15:05:18 +010041 author="ETSI OSM",
42 author_email="OSM_TECH@LIST.ETSI.ORG",
43 maintainer="Oscar Luis Peral",
44 maintainer_email="oscarluis.peral@atos.net",
45 url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
46 license="Apache 2.0",
perales9c701472020-01-17 15:55:13 +010047 packages=[_name],
48 include_package_data=True,
tierno72774862020-05-04 11:44:15 +000049 install_requires=[
50 "requests",
51 "uuid",
52 "cvprac",
sousaedu2ad85172021-02-17 15:05:18 +010053 "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
tierno72774862020-05-04 11:44:15 +000054 ],
sousaedu2ad85172021-02-17 15:05:18 +010055 setup_requires=["setuptools-version-command"],
perales9c701472020-01-17 15:55:13 +010056 entry_points={
sousaedu2ad85172021-02-17 15:05:18 +010057 "osm_rosdn.plugins": [
58 "rosdn_arista_cloudvision = osm_rosdn_arista_cloudvision.wimconn_arista:AristaSdnConnector"
59 ]
perales9c701472020-01-17 15:55:13 +010060 },
61)