18 Commits
Author SHA1 Message Date
Petr Klíma 9d0995b3aa bump to version 0.2.2 2020-10-09 07:10:04 +00:00
Petr Klíma 9ffa4b058c PyPi publishing workflows 2020-10-09 07:08:08 +00:00
Petr Klíma 55a7d13531 Merge branch 'PIPpublishing' into develop 2020-10-09 07:05:57 +00:00
Petr Klíma bf489713a1 test pypi publish on master too 2020-10-09 07:04:44 +00:00
Petr Klíma 289b3bb184 Merge branch 'PIPpublishing' into develop 2020-10-09 06:49:14 +00:00
Petr Klíma dce581347c publish to PyPi.org on release creation 2020-10-09 06:47:38 +00:00
Petr Klíma 30490d89f5 deploy job divided to discrete steps for easier reading 2020-10-09 06:43:53 +00:00
Petr Klíma 906d22da3d descriptive name for workflow 2020-10-09 06:40:04 +00:00
Petr Klíma 04ad218156 Merge branch 'PIPpublishing' into develop 2020-10-09 06:33:16 +00:00
Petr Klíma e462abcc99 pypi complain about existing files ... 2020-10-09 06:31:41 +00:00
Petr Klíma 92634bfc16 Merge branch 'PIPpublishing' into develop 2020-10-09 06:10:48 +00:00
Petr Klíma b641ca5359 workflow for publishing to TESTpipi 2020-10-09 06:07:21 +00:00
Petr Klíma d905e3d042 Merge pull request #17 from napalm-automation-community/develop
Setup and doc update
2020-10-08 15:34:40 +02:00
Petr Klíma ce70d202e8 bump version to 0.2.1 2020-10-08 13:18:45 +00:00
Petr Klíma 89d8e813f8 Merge branch 'develop' of https://github.com/napalm-automation-community/napalm-s350 into develop 2020-10-08 12:45:47 +00:00
Petr Klíma c402398855 add TravisCI badge 2020-10-08 12:45:28 +00:00
Petr Klíma 379a0d021e setup information update 2020-10-08 14:34:48 +02:00
Petr Klíma c979aa1ed6 update information in setup 2020-10-08 12:30:23 +00:00
4 changed files with 103 additions and 13 deletions

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Testing Upload Python Package to TEST.PyPi.org
on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Check
run: |
twine check dist/*
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.TWINE_TEST_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_TEST_PASSWORD }}
TWINE_REPOSITORY: ${{ secrets.TWINE_TEST_REPOSITORY }}
run: |
twine upload --verbose --non-interactive --disable-progress-bar --skip-existing dist/*
+37
View File
@@ -0,0 +1,37 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Upload Python Package to PyPi.org
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build
run: |
python setup.py sdist bdist_wheel
- name: Check
run: |
twine check dist/*
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_REPOSITORY: ${{ secrets.TWINE_REPOSITORY }}
run: |
twine upload --verbose --non-interactive --disable-progress-bar dist/*
+5 -1
View File
@@ -1,6 +1,10 @@
# 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)
Develop: [![Build Status](https://travis-ci.com/napalm-automation-community/napalm-s350.svg?branch=develop)](https://travis-ci.com/napalm-automation-community/napalm-s350)
## Supported devices
+18 -12
View File
@@ -1,7 +1,5 @@
"""setup.py file."""
import uuid
from setuptools import setup, find_packages
__author__ = 'Jasper Lievisse Adriaanse <j@jasper.la>'
@@ -9,23 +7,31 @@ __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.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.2",
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,
)