mirror of
https://github.com/napalm-automation-community/napalm-vyos.git
synced 2026-09-23 20:51:15 +00:00
fix pip issue
This commit is contained in:
@@ -99,3 +99,12 @@ Notes
|
|||||||
|
|
||||||
* The NAPALM-vyos driver supports authentication with ssh key. Please specify path to a key in optional_args
|
* The NAPALM-vyos driver supports authentication with ssh key. Please specify path to a key in optional_args
|
||||||
`'optional_args': {'key_file': '/home/user/ssh_private_key'}`
|
`'optional_args': {'key_file': '/home/user/ssh_private_key'}`
|
||||||
|
|
||||||
|
Configuration Examples
|
||||||
|
----------------------
|
||||||
|
* Vyos as IPSec VPN endpoint and BGP router - https://github.com/DreamLab/ansible-vyos
|
||||||
|
* CI Demo for vyos+junos (Polish only) https://github.com/ppieprzycki/plnog2016
|
||||||
|
|
||||||
|
VyOS Community
|
||||||
|
------------------
|
||||||
|
Slack Channel https://slack.vyos.io
|
||||||
9
setup.py
9
setup.py
@@ -3,7 +3,12 @@
|
|||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from pip.req import parse_requirements
|
|
||||||
|
# for pip >= 10
|
||||||
|
try:
|
||||||
|
from pip._internal.req import parse_requirements
|
||||||
|
except ImportError:
|
||||||
|
from pip.req import parse_requirements
|
||||||
|
|
||||||
__author__ = 'Piotr Pieprzycki <piotr.pieprzycki@dreamlab.pl>'
|
__author__ = 'Piotr Pieprzycki <piotr.pieprzycki@dreamlab.pl>'
|
||||||
|
|
||||||
@@ -12,7 +17,7 @@ reqs = [str(ir.req) for ir in install_reqs]
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="napalm-vyos",
|
name="napalm-vyos",
|
||||||
version="0.1.5",
|
version="0.1.6",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
author="Piotr Pieprzycki",
|
author="Piotr Pieprzycki",
|
||||||
author_email="piotr.pieprzycki@dreamlab.pl",
|
author_email="piotr.pieprzycki@dreamlab.pl",
|
||||||
|
|||||||
Reference in New Issue
Block a user