-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
43 lines (36 loc) · 1.35 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
"""setup.py file."""
from setuptools import setup, find_packages
__author__ = 'Reinier Schoof <[email protected]>'
with open("README.md", "r") as fh:
long_description = fh.read()
def parse_reqs(file_path):
"""Parse requirements from file."""
with open(file_path, 'rt') as fobj:
lines = map(str.strip, fobj)
lines = filter(None, lines)
lines = filter(lambda x: not x.startswith("#"), lines)
return tuple(lines)
setup(
name="napalm-ftos",
version="0.2.0",
packages=find_packages(),
author="Reinier Schoof, Manuel Holtgrewe",
author_email="[email protected], [email protected]",
description="NAPALM driver for Force10 FTOS",
long_description_content_type="text/markdown",
long_description=long_description,
classifiers=[
'Topic :: Utilities',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS',
],
url="https://github.com/napalm-automation-community/napalm-ftos",
include_package_data=True,
install_requires=parse_reqs('requirements.txt'),
)