-
Notifications
You must be signed in to change notification settings - Fork 27
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 #30 from napalm-automation-community/develop
Fix installation fails with the pip > 10 dev->master
- Loading branch information
Showing
3 changed files
with
37 additions
and
13 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
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
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,30 +1,34 @@ | ||
"""setup.py file.""" | ||
|
||
import uuid | ||
|
||
from setuptools import setup, find_packages | ||
from pip.req import parse_requirements | ||
|
||
with open("requirements.txt", "r") as fs: | ||
reqs = [r for r in fs.read().splitlines() | ||
if (len(r) > 0 and not r.startswith("#"))] | ||
|
||
__author__ = 'Piotr Pieprzycki <[email protected]>' | ||
|
||
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) | ||
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="[email protected]", | ||
description="Network Automation and Programmability Abstraction Layer with Multivendor support", | ||
classifiers=[ | ||
'Topic :: Utilities', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Operating System :: POSIX :: Linux', | ||
'Operating System :: MacOS', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Operating System :: POSIX :: Linux', | ||
'Operating System :: MacOS', | ||
], | ||
url="https://github.com/napalm-automation-community/napalm-vyos", | ||
include_package_data=True, | ||
install_requires=reqs, | ||
) |