From e0e08af2c40e0937cdcd05fa22e23c4478dbfb83 Mon Sep 17 00:00:00 2001 From: Patrick Elmer Date: Mon, 11 Mar 2024 15:14:59 +0100 Subject: [PATCH] Add pyproject.toml --- pyproject.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..204ed4c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,24 @@ +[build-system] +requires = ["flit_core >=3.2,<4"] +build-backend = "flit_core.buildapi" + +[project] +name = "magicli" +description = "Automatically turn functions of file into command line interface." +authors = [{name = "Patrick Elmer", email = "patrick@elmer.ws"}] +license = {file = "LICENSE"} +readme = "README.md" +requires-python = ">=3.7" +classifiers = [ + "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)" +] +dependencies = [ + "pargv>=0.2.0", + "tomli>=1.1.0; python_version < '3.11'", +] +dynamic = ["version", "description"] + +[project.optional-dependencies] +dev = [ + 'pytest >= 6.1.1', +]