✨ chore: migrate build system from pbr to hatchling

Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
This commit is contained in:
Mohammed Naser committed 2025-06-03 19:33:07 +00:00
1 parent c33f6e00d0
commit ffb70cebcb
2 files changed
+4 -13

No files matched your search

-6
View File
@@ -1,6 +0,0 @@
# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
# SPDX-License-Identifier: Apache-2.0
import pbr.version
__version__ = pbr.version.VersionInfo("atmosphere").release_string()
+4 -7
View File
@@ -1,6 +1,6 @@
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "atmosphere"
@@ -46,8 +46,5 @@ source = "https://github.com/vexxhost/atmosphere"
documentation = "https://vexxhost.github.io/atmosphere/"
issues = "https://github.com/vexxhost/atmosphere/issues"
[tool.setuptools]
packages = ["atmosphere"]
[tool.setuptools.dynamic]
version = {attr = "atmosphere.__version__"}
[tool.hatch.version]
source = "vcs"