2022-02-21 18:12:16 +01:00
|
|
|
import os
|
|
|
|
|
2024-10-21 12:55:54 +02:00
|
|
|
from setuptools import find_packages, setup
|
|
|
|
|
|
|
|
|
2022-02-21 18:12:16 +01:00
|
|
|
def get_requirements():
|
2024-10-21 12:55:54 +02:00
|
|
|
reqs_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
|
|
|
|
with open(reqs_path, "r") as f:
|
|
|
|
reqs = [r.strip() for r in f if r.strip()]
|
2022-02-21 18:12:16 +01:00
|
|
|
return reqs
|
|
|
|
|
2019-08-04 00:00:22 +02:00
|
|
|
|
|
|
|
setup(
|
2024-10-21 12:55:54 +02:00
|
|
|
name="netbox_agent",
|
|
|
|
version="0.7.1",
|
|
|
|
description="NetBox agent for server",
|
|
|
|
long_description=open("README.md", encoding="utf-8").read(),
|
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
url="https://github.com/solvik/netbox_agent",
|
|
|
|
author="Solvik Blum",
|
|
|
|
author_email="solvik@solvik.fr",
|
|
|
|
license="Apache2",
|
2019-08-04 00:00:22 +02:00
|
|
|
include_package_data=True,
|
2019-08-13 17:29:06 +02:00
|
|
|
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
|
2019-08-04 00:00:22 +02:00
|
|
|
use_scm_version=True,
|
2022-02-21 18:12:16 +01:00
|
|
|
install_requires=get_requirements(),
|
2019-08-04 00:00:22 +02:00
|
|
|
zip_safe=False,
|
2024-10-21 12:55:54 +02:00
|
|
|
keywords=["netbox"],
|
2019-08-04 00:00:22 +02:00
|
|
|
classifiers=[
|
2024-10-21 12:55:54 +02:00
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
2019-08-04 00:00:22 +02:00
|
|
|
],
|
|
|
|
entry_points={
|
2024-10-21 12:55:54 +02:00
|
|
|
"console_scripts": ["netbox_agent=netbox_agent.cli:main"],
|
|
|
|
},
|
2019-08-04 00:00:22 +02:00
|
|
|
)
|