| •1 |
from setuptools import setup, find_namespace_packages |
| 2 |
import versioneer |
| 3 |
import os |
| 4 |
|
| 5 |
# parse requirements |
| 6 |
req_lines = [line.strip() for line in open("requirements.txt").readlines()] |
| 7 |
install_reqs = list(filter(None, req_lines)) |
| 8 |
|
| 9 |
setup( |
| 10 |
name="junos-eznc", |
| 11 |
version=versioneer.get_version(), |
| 12 |
cmdclass=versioneer.get_cmdclass(), |
| 13 |
author="Jeremy Schulman, Nitin Kumar, Rick Sherman, Stacy Smith", |
| 14 |
author_email="[email protected]", |
| 15 |
description=("Junos 'EZ' automation for non-programmers"), |
| 16 |
license_files=["LICENSE"], |
| 17 |
license="Apache 2.0", |
| 18 |
keywords="Junos NETCONF networking automation", |
| 19 |
url="http://www.github.com/Juniper/py-junos-eznc", |
| 20 |
package_dir={"": "lib"}, |
| •21 |
packages=find_namespace_packages("lib"), |
| 22 |
package_data={ |
| 23 |
"jnpr.junos.op": ["*.yml"], |
| 24 |
"jnpr.junos.command": ["*.yml"], |
| 25 |
"jnpr.junos.cfgro": ["*.yml"], |
| 26 |
"jnpr.junos.resources": ["*.yml"], |
| 27 |
}, |
| 28 |
python_requires=">=3.8", |
| 29 |
install_requires=install_reqs, |
| 30 |
classifiers=[ |
| 31 |
"Development Status :: 5 - Production/Stable", |
| 32 |
"Environment :: Console", |
| 33 |
"Intended Audience :: Developers", |
| 34 |
"Intended Audience :: Information Technology", |
| 35 |
"Intended Audience :: System Administrators", |
| 36 |
"Intended Audience :: Telecommunications Industry", |
| 37 |
"License :: OSI Approved :: Apache Software License", |
| 38 |
"Operating System :: OS Independent", |
| 39 |
"Programming Language :: Python", |
| 40 |
"Programming Language :: Python :: 3.8", |
| 41 |
"Programming Language :: Python :: 3.9", |
| 42 |
"Programming Language :: Python :: 3.10", |
| 43 |
"Programming Language :: Python :: 3.11", |
| 44 |
"Programming Language :: Python :: 3.12", |
| 45 |
"Topic :: Software Development :: Libraries", |
| 46 |
"Topic :: Software Development :: Libraries :: Application Frameworks", |
| 47 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 48 |
"Topic :: System :: Networking", |
| 49 |
"Topic :: Text Processing :: Markup :: XML", |
| 50 |
], |
| 51 |
) |