Skip to content

Commit

Permalink
replace poetry sections with setuptools equivalent
Browse files Browse the repository at this point in the history
in pyproject.toml
  • Loading branch information
Patrick Totzke committed Jul 31, 2024
1 parent 6d316d3 commit 3c371cc
Showing 1 changed file with 5 additions and 48 deletions.
53 changes: 5 additions & 48 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"


[tool.poetry]
[project]
name = "alot"
version = "0.10"
description = "Terminal MUA using notmuch mail"
Expand All @@ -14,53 +14,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 = "[email protected]"} ]
readme = "README.md"
requires-python = ">=3.8"
license = { text = "GPL-3.0-or-later" }
classifiers = [
Expand All @@ -82,6 +35,10 @@ dependencies = [
"gpg>1.10.0",
]

[project.optional-dependencies]
docs = ["sphinx"]
tests = ["pytest"]

[project.scripts]
alot = "alot.__main__:main"

Expand Down

0 comments on commit 3c371cc

Please sign in to comment.