forked from housepbass/napalm-panos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request napalm-automation-community#59 from itdependsnetwo…
…rks/pip10 pip 10 changes
- Loading branch information
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
|