forked from nornir-automation/nornir-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (35 loc) · 1.07 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
#!/usr/bin/env python
from setuptools import setup
with open("requirements.txt", "r") as fs:
reqs = [
r
for r in fs.read().splitlines()
if (len(r) > 0 and not r.startswith("#"))
]
with open("README.md", "r") as fs:
long_description = fs.read()
__author__ = "[email protected]"
__license__ = "Apache License, version 2"
__version__ = "0.0.1"
setup(
name="nornir-tools",
version=__version__,
description="Fighting fire with fire",
long_description=long_description,
long_description_content_type="text/markdown",
author=__author__,
url="https://github.com/nornir-automation/nornir-tools",
entry_points={
"console_scripts": {
"nornir-tools-nw-backup = tools.network.backup.backup:run",
"nornir-tools-nw-get_facts = tools.network.get_facts.get_facts:run",
}
},
include_package_data=True,
install_requires=reqs,
packages=["tools"],
license=__license__,
test_suite="tests",
platforms="any",
classifiers=["Programming Language :: Python :: 3.6"],
)