diff --git a/atmosphere/__init__.py b/atmosphere/__init__.py index 5b8c56f3..e69de29b 100644 --- a/atmosphere/__init__.py +++ b/atmosphere/__init__.py @@ -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() diff --git a/pyproject.toml b/pyproject.toml index 697b746c..281b894b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"