From 1755eee900ee766c8e3f5224419605b4b0f27bc5 Mon Sep 17 00:00:00 2001 From: Kaliko Jack Date: Thu, 11 Apr 2024 19:12:16 +0200 Subject: [PATCH] Improved/fixed pyproject --- MANIFEST.in | 3 ++- pyproject.toml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index fd43aca..8f82cfa 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,3 @@ include CHANGES.txt -recursive-include doc/source * +graft doc/source +global-exclude *~ *.py[cod] *.so diff --git a/pyproject.toml b/pyproject.toml index 971c94b..a3f46bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,5 +30,8 @@ sphinx = ["Sphinx>=5.3.0"] [build-system] requires = ["setuptools>=61.0.0"] +[tool.setuptools] +py-modules = ["musicpd"] + [tool.setuptools.dynamic] version = {attr = "musicpd.VERSION"} -- 2.39.5