1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3'''
4The setup script for napalm-logs
5'''
6import codecs
7from setuptools import setup, find_packages
8
9__author__ = 'Mircea Ulinic <mircea.ulinic@gmail.com>'
10
11with codecs.open('README.rst', 'r', encoding='utf8') as file:
12    long_description = file.read()
13
14with open("requirements.txt", "r") as fs:
15    reqs = [r for r in fs.read().splitlines() if (len(r) > 0 and not r.startswith("#"))]
16
17setup(
18    name='napalm-logs',
19    version='0.9.0',
20    packages=find_packages(),
21    author='Mircea Ulinic',
22    author_email='mircea.ulinic@gmail.com',
23    description='Network Automation and Programmability Abstraction Layer with Multivendor support: syslog parser',
24    long_description=long_description,
25    classifiers=[
26        'Development Status :: 5 - Production/Stable',
27        'Topic :: Utilities',
28        'Topic :: System :: Networking',
29        'Programming Language :: Python',
30        'Programming Language :: Python :: 2',
31        'Programming Language :: Python :: 2.7',
32        'Programming Language :: Python :: 3',
33        'Programming Language :: Python :: 3.5',
34        'Programming Language :: Python :: 3.6',
35        'Programming Language :: Python :: 3.7',
36        'Operating System :: POSIX :: Linux',
37        'Operating System :: MacOS',
38        'Intended Audience :: Developers'
39    ],
40    url='https://github.com/napalm-automation/napalm-logs',
41    license="Apache License 2.0",
42    keywords=('napalm', 'syslog', 'zeromq', 'engine'),
43    include_package_data=True,
44    install_requires=reqs,
45    entry_points={
46        'console_scripts': [
47            'napalm-logs=napalm_logs.scripts.cli:napalm_logs_engine'
48        ],
49    }
50)
51