-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (25 loc) · 820 Bytes
/
Copy pathsetup.py
File metadata and controls
33 lines (25 loc) · 820 Bytes
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
from setuptools import setup, find_packages
import junos_common_operations.about as about
def requirements(filename='requirements.txt'):
return open(filename.strip()).readlines()
with open("README.md", "r") as fh:
long_description = fh.read()
with open("LICENSE.md", "r") as fh:
license_file = fh.read()
setup(
name=about.package_name,
version=about.package_version,
description='Juniper Operations Tools',
license=license_file,
long_description=long_description,
long_description_content_type="text/markdown",
author='Juniper Networks',
packages=find_packages(),
python_requires='>=3.6',
install_requires=requirements(),
include_package_data=True,
entry_points='''
[console_scripts]
fabric_op=junos_common_operations.op_tools:main
'''
)