From fc7e1cd9a6a49e18ff960c3a63d3f28adf46d47c Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Wed, 4 Jun 2025 07:05:21 +0200 Subject: [PATCH] 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. --- pyproject.toml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b058db386..e0102dffb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,38 +4,35 @@ [project] name = "netbox" version = "4.3.1" +requires-python = ">=3.10" 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. -""" +maintainers = [ + { name = "NetBox Community" } +] +description = "The premier source of truth powering network automation." readme = "README.md" -license = { file = "LICENSE.txt" } - +license = "Apache-2.0" +license-files = ["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", + "Programming Language :: Python :: 3", "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/" +Repository = "https://github.com/netbox-community/netbox" Issues = "https://github.com/netbox-community/netbox/issues" [tool.black]