From 57b6110f13d684369550266b93274722ac62de40 Mon Sep 17 00:00:00 2001 From: Pieprzycki Piotr Date: Thu, 14 Feb 2019 07:03:57 +0100 Subject: [PATCH] fix pip issue --- README.md | 9 +++++++++ setup.py | 9 +++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01be396..0de2c7f 100644 --- a/README.md +++ b/README.md @@ -99,3 +99,12 @@ Notes * 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'}` + +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 \ No newline at end of file diff --git a/setup.py b/setup.py index ce58990..fe85bf1 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,12 @@ import uuid 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 ' @@ -12,7 +17,7 @@ reqs = [str(ir.req) for ir in install_reqs] setup( name="napalm-vyos", - version="0.1.5", + version="0.1.6", packages=find_packages(), author="Piotr Pieprzycki", author_email="piotr.pieprzycki@dreamlab.pl",