From 71a0fb67c12e5c92ac0b6e8f9a5d2c835ef873a0 Mon Sep 17 00:00:00 2001 From: Jamison Lahman Date: Wed, 25 Dec 2024 20:57:35 -0800 Subject: [PATCH] fix pyproject --- pyproject.toml | 6 ------ setup.py | 7 ++++++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 59bfdde..217d503 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,8 +5,6 @@ build-backend = "setuptools.build_meta" [project] name = "nature-sounds" description = "A nature sounds player for the command-line" -long-description = "file: README.md" -long-description-content-type = "text/markdown" readme = "README.md" requires-python = ">=3.6" classifiers = [ @@ -16,9 +14,5 @@ classifiers = [ ] dynamic = ["version"] -[tool.setuptools.commands] -build = "setup.BuildGoBinary" -install = "setup.PostInstallCommand" - [tool.setuptools_scm] diff --git a/setup.py b/setup.py index 28f851a..1732c09 100644 --- a/setup.py +++ b/setup.py @@ -28,4 +28,9 @@ def run(self): install.run(self) -setup() +setup( + cmdclass={ + "build": BuildGoBinary, + "install": PostInstallCommand, + }, +)