-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replace poetry sections with setuptools equivalent
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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 = [ | ||
|
@@ -82,6 +35,10 @@ dependencies = [ | |
"gpg>1.10.0", | ||
] | ||
|
||
[project.optional-dependencies] | ||
docs = ["sphinx"] | ||
tests = ["pytest"] | ||
|
||
[project.scripts] | ||
alot = "alot.__main__:main" | ||
|
||
|