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.
This commit is contained in:
Martin Hauser 2025-05-28 10:03:13 +02:00
parent cc099e86e1
commit 0f3a7d2366
No known key found for this signature in database

View File

@ -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']