nncli

NextCloud Notes Command Line Interface
git clone git://git.danielmoch.com/nncli.git
Log | Files | Refs | LICENSE

commit 1e8d5bdc6460c868e07da561e242f7bd3e8a69c5
parent c6d5fb334cdb5e85c741accc67507dae50a0e43e
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun, 12 Dec 2021 20:58:07 -0500

Update pyproject.toml

Diffstat:
Mpyproject.toml | 70+++++++++++++++++++++++++++++++++++++++++++++++++---------------------
1 file changed, 49 insertions(+), 21 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml @@ -1,28 +1,56 @@ [build-system] -requires = ["flit"] -build-backend = "flit.buildapi" +requires = ["flit_core>=3.2,<4"] +build-backend = "flit_core.buildapi" -[tool.flit.metadata] -module = "nncli" -author = "Daniel Moch" -author-email = "daniel@danielmoch.com" -home-page = "https://nncli.org" -description-file = "README.rst" -requires = ["urwid", "requests", "appdirs", "click"] -classifiers = ["License :: OSI Approved :: MIT License", - "Development Status :: 4 - Beta", - "Environment :: Console :: Curses", - "Intended Audience :: End Users/Desktop", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3 :: Only"] +[project] +name = "nncli" +authors = [ + {name = "Daniel Moch", email = "daniel@danielmoch.com"}, +] +readme = "README.rst" requires-python = ">=3" +classifiers = [ + "License :: OSI Approved :: MIT License", + "Development Status :: 4 - Beta", + "Environment :: Console :: Curses", + "Intended Audience :: End Users/Desktop", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3 :: Only", +] +dependencies = [ + "urwid", + "requests", + "appdirs", + "click", +] +dynamic = [ "version", "description" ] -[tool.flit.metadata.urls] -"Source Code" = "https://git.danielmoch.com" +[project.urls] +Homepage = "https://nncli.org" +"Source Code" = "https://git.danielmoch.com/nncli" -[tool.flit.metadata.requires-extra] -dev = ["pipenv"] -doc = ["sphinx"] +[project.optional-dependencies] +dev = [ + "pip-tools", + "pytest>=5.2,<5.3", + "pytest-cov", + "pytest-mock", + "pylint", + "pudb", + "sphinx", + "flit", + "setuptools", + "mock", + "tox", + "pathlib2; python_version < '3.5'", + "scandir; python_version < '3.5'", + "vulture", + "sphinx-rtd-theme", + "sphinx-sitemap", +] +doc = [ + "sphinx", +] -[tool.flit.scripts] +[project.scripts] nncli = "nncli.cli:main"