36 lines
1007 B
Python
36 lines
1007 B
Python
"""setup.py file."""
|
|
|
|
import uuid
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
# 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>'
|
|
|
|
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.6",
|
|
packages=find_packages(),
|
|
author="Piotr Pieprzycki",
|
|
author_email="piotr.pieprzycki@dreamlab.pl",
|
|
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',
|
|
],
|
|
include_package_data=True,
|
|
install_requires=reqs,
|
|
)
|