From 6ec42b0b236faa5a6495249538e9126f04446c41 Mon Sep 17 00:00:00 2001 From: Patrick Totzke Date: Wed, 31 Jul 2024 14:37:04 +0100 Subject: [PATCH] replace poetry sections with setuptools equivalent in pyproject.toml --- pyproject.toml | 55 +++++--------------------------------------------- 1 file changed, 5 insertions(+), 50 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index de34cef23..6805d5711 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,7 @@ -[build-system] -requires = ["setuptools", "setuptools-scm"] build-backend = "setuptools.build_meta" -[tool.poetry] +[project] name = "alot" version = "0.10" description = "Terminal MUA using notmuch mail" @@ -14,53 +12,6 @@ maintainers = [ {name="Lucas Hoffmann"}, ] readme = "README.md" -license = "GPL-3.0-or-later" -repository = "https://github.com/pazz/alot" -documentation = "https://alot.readthedocs.io/en/latest/" -classifiers = [ - "Development Status :: 4 - Beta", - "Environment :: Console :: Curses", - "Framework :: AsyncIO", - "Intended Audience :: End Users/Desktop", - "Operating System :: POSIX", - "Programming Language :: Python :: 3 :: Only", - "Topic :: Communications :: Email :: Email Clients (MUA)", - "Topic :: Database :: Front-Ends", -] - - -[tool.poetry.dependencies] -python = ">=3.8" -notmuch2 = ">=0.1" -urwid = ">=1.3.0" -urwidtrees = ">=1.0.3" -twisted = ">=18.4.0" -python-magic = "*" -configobj = ">=4.7.0" -gpg = ">1.10.0" - -[tool.poetry.dev-dependencies] -pycodestyle = "*" -pytest = "*" -sphinx = "*" - -[tool.poetry.group.doc] -optional = true - -[tool.poetry.group.doc.dependencies] -sphinx = "*" - -[tool.poetry.scripts] -alot = "alot.__main__:main" - - -# These sections are for setuptools -[project] -name = "alot" -version = "0.10" -description = "Terminal MUA using notmuch mail" -authors = [ {name = "Patrick Totzke", email = "patricktotzke@gmail.com"} ] -readme = "README.md" requires-python = ">=3.8" license = { text = "GPL-3.0-or-later" } classifiers = [ @@ -82,6 +33,10 @@ dependencies = [ "gpg>1.10.0", ] +[project.optional-dependencies] +docs = ["sphinx"] +tests = ["pytest"] + [project.scripts] alot = "alot.__main__:main"