From 0f3a7d2366fc5f1d471c2fd0ae8509bf5cb6d1e9 Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Wed, 28 May 2025 10:03:13 +0200 Subject: [PATCH] feat(project): Add project metadata to pyproject.toml Introduces project metadata, including name, version, authors, and description, to `pyproject.toml` for enhanced package definition. Also includes URLs for source code, documentation, and issue tracking. --- pyproject.toml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 003465053..b058db386 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,43 @@ # See PEP 518 for the spec of this file # https://www.python.org/dev/peps/pep-0518/ +[project] +name = "netbox" +version = "4.3.1" +authors = [ + { name = "NetBox Community" } +] +description = """\ +NetBox exists to empower network engineers. Since its release in 2016, it has become the go-to solution for modeling\ + and documenting network infrastructure for thousands of organizations worldwide. As a successor to legacy IPAM and\ + DCIM applications, NetBox provides a cohesive, extensive, and accessible data model for all things networked.\ + By providing a single robust user interface and programmable APIs for everything from cable maps to device\ + configurations, NetBox serves as the central source of truth for the modern network. +""" +readme = "README.md" +license = { file = "LICENSE.txt" } + +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Framework :: Django", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: Apache Software License", + "Natural Language :: English", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +] + +requires-python = ">=3.10" + +[project.urls] +Homepage = "https://netboxlabs.com/products/netbox/" +Source = "https://github.com/netbox-community/netbox" +Documentation = "https://netboxlabs.com/docs/netbox/" +Issues = "https://github.com/netbox-community/netbox/issues" + [tool.black] line-length = 120 target_version = ['py310', 'py311', 'py312']