Skip to content

Commit

Permalink
Merge pull request napalm-automation-community#59 from itdependsnetwo…
Browse files Browse the repository at this point in the history
…rks/pip10

pip 10 changes
  • Loading branch information
ktbyers authored May 15, 2018
2 parents 26bee1d + 9dd379c commit 13a1884
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
"""setup.py file."""

import uuid

from setuptools import setup, find_packages
from pip.req import parse_requirements

__author__ = 'Gabriele Gerbino <[email protected]>'

install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
with open("requirements.txt", "r") as fs:
reqs = [r for r in fs.read().splitlines() if (len(r) > 0 and not r.startswith("#"))]

setup(
name="napalm-panos",
Expand Down

0 comments on commit 13a1884

Please sign in to comment.