Skip to content

Commit

Permalink
Replace setup.cfg with pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jodal committed Feb 23, 2024
1 parent cbf57d0 commit 5b30983
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 56 deletions.
40 changes: 39 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
[build-system]
requires = ["setuptools >= 30.3.0", "wheel"]
requires = ["setuptools >= 66", "setuptools-scm >= 7.1"]
build-backend = "setuptools.build_meta"


[project]
name = "Mopidy-MPD"
version = "4.0.0a1"
description = "Mopidy extension for controlling Mopidy from MPD clients"
readme = "README.rst"
requires-python = ">= 3.11"
license = { text = "Apache-2.0" }
authors = [{ name = "Stein Magnus Jodal", email = "[email protected]" }]
classifiers = [
"Environment :: No Input/Output (Daemon)",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Sound/Audio :: Players",
]
dependencies = ["mopidy >= 3.3.0", "pykka >= 4.0", "setuptools >= 66"]

[project.optional-dependencies]
lint = ["ruff"]
test = ["pytest", "pytest-cov"]
typing = ["pyright"]
dev = ["mopidy-mpd[lint,test,typing]", "tox"]

[project.urls]
Source = "https://github.com/mopidy/mopidy-mpd"
Issues = "https://github.com/mopidy/mopidy-mpd/issues"

[project.entry-points."mopidy.ext"]
mpd = "mopidy_mpd:Extension"


[tool.ruff]
Expand Down Expand Up @@ -66,3 +101,6 @@ ignore = [
"SLF001", # private-member-access
"TRY002", # raise-vanilla-class
]


[tool.setuptools_scm]
52 changes: 0 additions & 52 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit 5b30983

Please sign in to comment.