feat(project): Update pyproject.toml for best practices

Refreshes metadata to resolve deprecations and follow packaging best
practices. Updates include description, license, Python versions,
classifiers, maintainers, and repository URLs for improved compliance.
This commit is contained in:
Martin Hauser 2025-06-04 07:05:21 +02:00
parent 77108d1c42
commit fc7e1cd9a6
No known key found for this signature in database

View File

@ -4,38 +4,35 @@
[project] [project]
name = "netbox" name = "netbox"
version = "4.3.1" version = "4.3.1"
requires-python = ">=3.10"
authors = [ authors = [
{ name = "NetBox Community" } { name = "NetBox Community" }
] ]
description = """\ maintainers = [
NetBox exists to empower network engineers. Since its release in 2016, it has become the go-to solution for modeling\ { name = "NetBox Community" }
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.\ description = "The premier source of truth powering network automation."
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" readme = "README.md"
license = { file = "LICENSE.txt" } license = "Apache-2.0"
license-files = ["LICENSE.txt"]
classifiers = [ classifiers = [
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",
"Framework :: Django", "Framework :: Django",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"Intended Audience :: System Administrators", "Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English", "Natural Language :: English",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
] ]
requires-python = ">=3.10"
[project.urls] [project.urls]
Homepage = "https://netboxlabs.com/products/netbox/" Homepage = "https://netboxlabs.com/products/netbox/"
Source = "https://github.com/netbox-community/netbox"
Documentation = "https://netboxlabs.com/docs/netbox/" Documentation = "https://netboxlabs.com/docs/netbox/"
Repository = "https://github.com/netbox-community/netbox"
Issues = "https://github.com/netbox-community/netbox/issues" Issues = "https://github.com/netbox-community/netbox/issues"
[tool.black] [tool.black]