diff --git a/.travis.yml b/.travis.yml index 54d4434..b52db35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,21 +4,5 @@ python: - 3.7 install: - pip install -r requirements-dev.txt -- pip install . -- pip install -e git+https://github.com/napalm-automation/napalm-base.git@develop#egg=napalm-base -- pip install coveralls - -deploy: - provider: pypi - user: dbarroso - password: - secure: IIifRr9K771snku+qI7yz8T/cJC4ZO/fUYUNILhMB5eQtF2/MAEU7W1owGfcIqE9SW7fhPAXqVrnb7AcdFyjjbkZn6uoYYlh5LrQaCXgbfol5Yg+OSsRKFwhEOBcKFrtqz3W6UPunN6CX4v2gn2UCmWSyQ3XERgqKxobBVSOMb1G9PTy/Zk0ZUvGJc05bxWj3xuVQKg904VpnhQJ6q1h4d9SV+dQClP4eDRbEwe+ICKX3S2JPa/PiJfWrIsCL12yT+iZ/aiDwfSBjh+o3HMdt98cB3FkHAibEZnvpLOpUCmjX1rMyqyJEqVgDM1mQ4vyoYO5DNFv94ZufGJnJP+TIbkkSaFy9ZpeC2V+7K03TM+g1rZD3BKK50u3kL86KsHao14SZHV58l7/b3023IUr4MwrQgoLlHMhw9IFFC8bYmP/6aylae5fR/+5inGloSByzWLAKKQ0FLPPkCoeukmldyphjZ8HnGdhEu566kO9R5gxJ4edsbeimsRAO3oZ/EByQcgOytJjVKjMpn7fhiSblJO8KB4+M5d5fXUn5RZ31P3g8RFfG1Jqx2l9eOd4i8u9l3NkRd9WO8q5wyF/hvC/u4RcIMnRYl5hPWMBNY6uGGj7aq7o+XETTLVFirCwHBKre6OLdaVpW1ZciJP07Xb9qhyPLCeP3E9VM/OAz9rs5KI= - on: - tags: true - branch: master - script: -- py.test --cov-report= test/ - -after_success: -- coveralls +- pip install . diff --git a/README.md b/README.md index 2bf25fa..9a96c3e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # napalm-s350 -Napalm driver targeting Cisco SG350 devices. + NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx). ## Status Main: [![Build Status](https://travis-ci.com/napalm-automation-community/napalm-s350.svg?branch=master)](https://travis-ci.com/napalm-automation-community/napalm-s350) diff --git a/napalm_s350/s350.py b/napalm_s350/s350.py index 01b1b2d..70a935b 100644 --- a/napalm_s350/s350.py +++ b/napalm_s350/s350.py @@ -36,7 +36,6 @@ from napalm.base.exceptions import ( CommandErrorException, ) -from napalm.base.utils import py23_compat import napalm.base.helpers diff --git a/setup.py b/setup.py index 431c3cf..6e3bf83 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,5 @@ """setup.py file.""" -import uuid - from setuptools import setup, find_packages __author__ = 'Jasper Lievisse Adriaanse ' @@ -9,23 +7,31 @@ __author__ = 'Jasper Lievisse Adriaanse ' with open("requirements.txt", "r") as fs: reqs = [r for r in fs.read().splitlines() if (len(r) > 0 and not r.startswith("#"))] +with open("README.md", "r") as fs: + long_description = fs.read() + setup( name="napalm-s350", - version="0.1.2", - packages=find_packages(), - author="Jasper Lievisse Adriaanse", - author_email="j@jasper.la", - description="Network Automation and Programmability Abstraction Layer with Multivendor support", + version="0.2.0", + packages=find_packages(exclude=("test*",)), + author="Jasper Lievisse Adriaanse, Petr KlĂ­ma", + author_email="j@jasper.la, qaxi@seznam.cz", + description="NAPALM driver for Cisco SMB switches (SF3xx, SF5xx, SG3xx, SG5xx)", + license="Apache 2.0", + long_description=long_description, + long_description_content_type="text/markdown", classifiers=[ 'Topic :: Utilities', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', + 'License :: OSI Approved :: Apache Software License', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Operating System :: POSIX :: Linux', 'Operating System :: MacOS', ], - url="https://github.com/jasperla/napalm-s350", + url="https://github.com/napalm-automation-community/napalm-s350", include_package_data=True, install_requires=reqs, ) + diff --git a/tox.ini b/tox.ini index 746e406..439cc3a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,9 @@ [tox] -envlist = py27,py34,py35,py36 +envlist = py36,py37,py38 [testenv] deps = -rrequirements.txt -rrequirements-dev.txt -commands = - py.test {posargs} +#commands = +# py.test {posargs}