From 41484a3aa28cbf65c8047c27e8d55c0721c038d2 Mon Sep 17 00:00:00 2001 From: kaliko Date: Tue, 5 Mar 2024 18:03:48 +0100 Subject: [PATCH] Add project files, license, etc... --- .gitignore | 8 ++++++++ MANIFEST.in | 2 ++ README.rst | 14 ++++++++++++++ pyproject.toml | 25 +++++++++++++++++++++++++ 4 files changed, 49 insertions(+) create mode 100644 .gitignore create mode 100644 MANIFEST.in create mode 100644 README.rst create mode 100644 pyproject.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54134f0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# python +__pycache__ +*.pyc. +/*.egg-info +# project +/build/ +/dist/ +/doc/build/ diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..fd43aca --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include CHANGES.txt +recursive-include doc/source * diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..a243c88 --- /dev/null +++ b/README.rst @@ -0,0 +1,14 @@ +Music Player Daemon client module +********************************* + +An asynchronous MPD (Music Player Daemon) client library written in Python. + +---- + +:MPD Protocol: https://www.musicpd.org/doc/html/protocol.html +:Code: https://codeberg.org/MusicPlayerDaemon/python-musicpdaio.git +:Dependencies: None +:Compatibility: Python 3.11+ +:Licence: GNU LGPLv3 + +.. vim: spell spelllang=en diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..f88f175 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,25 @@ +# SPDX-FileCopyrightText: 2023-2027 kaliko +# SPDX-License-Identifier: LGPL-3.0-or-later +[project] +name = "mpddaio" +keywords = ["mpd", "Music Player Daemon"] +description = "An MPD (Music Player Daemon) client library written in Python." +authors = [ + { name="kaliko", email="kaliko@azylum.org" }, +] +license = {file = "LICENSE.txt"} +readme = "README.rst" +requires-python = ">=3.11" +dynamic = ["version"] + +[project.optional-dependencies] +sphinx = ["Sphinx>=5.3.0"] + +[project.urls] +"Homepage" = "https://kaliko.me/musicpdaio/" + +[build-system] +requires = ["setuptools>=61.0.0"] + +[tool.setuptools.dynamic] +version = {attr = "mpdaio.VERSION"} -- 2.39.5