forked from napalm-automation/napalm-logs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (49 loc) · 1.76 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
The setup script for napalm-logs
'''
import codecs
from setuptools import setup, find_packages
__author__ = 'Mircea Ulinic <mircea.ulinic@gmail.com>'
with open('VERSION', 'r') as fp_:
version = fp_.read()
with codecs.open('README.rst', 'r', encoding='utf8') as file:
long_description = file.read()
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-logs',
version=version,
packages=find_packages(),
author='Mircea Ulinic',
author_email='mircea.ulinic@gmail.com',
description='Network Automation and Programmability Abstraction Layer with Multivendor support: syslog parser',
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Utilities',
'Topic :: System :: Networking',
'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 :: POSIX :: Linux',
'Operating System :: MacOS',
'Intended Audience :: Developers'
],
url='https://github.com/napalm-automation/napalm-logs',
license="Apache License 2.0",
keywords=('napalm', 'syslog', 'zeromq', 'engine'),
include_package_data=True,
install_requires=reqs,
entry_points={
'console_scripts': [
'napalm-logs=napalm_logs.scripts.cli:napalm_logs_engine'
],
}
)