* adding read_timeout_override netmiko option * adding netmiko option session_log * Bump black from 20.8b1 to 24.3.0 Bumps [black](https://github.com/psf/black) from 20.8b1 to 24.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/commits/24.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * remove demjson - blocking tests * FIX minor formating fixes raised by pylama * FIX limit napalm and netmiko o version 3.*, soften version requirements * FIX minor formating fixes raised by pylama * Allow testing on all supported Py versions * FIX add platform name to driver s350 * FIX force interface speed as a float * Update information about required versions to Py3.8+ and napalm 3 * Add scheduled check on develop branch * Update pkg version in setup.py * Update PublishToPIP.yml for manual run * Napalm 4 compatibility, newer dependencies * Full tox testing on "develop" and "master" branch. * Remove Py13 - too early * Do not test on PyPy, local test with local Py version only * CI ThoroughTest for branches develop and master * CI FastTest for all other branches. * CI rename legacy jobs * CI renaname job * Updata docs * Shorten name of publish workflow * Check syntax for Py3.12 * use netmiko_args * Add changes for 4.1.0 (#89) * Update requirements.txt * Typpo in requirements * _send_command has only two parameters * Adapt to stricter Unit tests --------- Co-authored-by: Anton Gridnev <anton@gridnev.pro> * Remove s350_base_interfaces custom map - it is allready in napalm base * Adapt Unit tests to canonical_interface_name() * Add format parameter to get_config() * Add badges * Tests for push are enought * update CD actions * add tests for device SG500-52 * Merge CI to develop (#95) * Simplify CI * CI update * CI update * Update CI from develop (#94) * Add format parameter to get_config() * Add badges * Tests for push are enought * update CD actions * add tests for device SG500-52 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Dave <davama@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anton Gridnev <anton@gridnev.pro>
41 lines
1.4 KiB
Python
41 lines
1.4 KiB
Python
"""setup.py file."""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
__author__ = "Jasper Lievisse Adriaanse <j@jasper.la>"
|
|
|
|
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.4.0",
|
|
packages=find_packages(exclude=("test*",)),
|
|
author="Jasper Lievisse Adriaanse, Petr Klíma, Daniel Bacher",
|
|
author_email="j@jasper.la, qaxi@seznam.cz, mail@phill93.de",
|
|
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",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Operating System :: MacOS",
|
|
],
|
|
url="https://github.com/napalm-automation-community/napalm-s350",
|
|
include_package_data=True,
|
|
install_requires=reqs,
|
|
)
|