From 6650f85eb86d1e516850f59a9fed2f899bef5671 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Fri, 8 Sep 2023 10:43:58 -0400 Subject: Add basic pyproject.toml Go with the new recommended way of doing it by using pyproject.toml and not setup.py. Signed-off-by: Konstantin Ryabitsev --- pyproject.toml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..bdbadc7 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,41 @@ +[project] +name = 'peebz' +version = '0.1' +description = 'A bridge between public-inbox, bugzilla, and git' +readme = 'README.md' +requires-python = '>=3.8' +license = {file = 'COPYING'} +authors = [ + { name = 'Konstantin Ryabitsev', email = 'konstantin@linuxfoundation.org' } +] +classifiers = [ + 'Development Status :: 3 - Alpha', + 'Environment :: Console', + 'Intended Audience :: System Administrators', + 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)', + 'Programming Language :: Python :: 3 :: Only', + 'Topic :: Communications :: Email', + 'Topic :: Communications :: Email :: Mailing List Servers', + 'Topic :: Database', + 'Topic :: Software Development :: Bug Tracking', + 'Topic :: Software Development :: Version Control :: Git', +] +dependencies = [ + 'b4 >= 0.12.2,<1.0', + 'Pygments >= 2.14.0,<3.0', + 'requests >= 2.28', + 'sqlalchemy >= 1.4,<2.0', + # Conditional to python version + 'tomli >= 2.0; python_version < 3.11, +] +#optional-dependencies = [ +# 'PyMySQL' +#] + +[project.urls] +'Homepage' = 'https://git.kernel.org/pub/scm/utils/peebz/peebz.git/' +'Source' = 'https://git.kernel.org/pub/scm/utils/peebz/peebz.git' +'Community' = 'https://lore.kernel.org/tools' + +[project.scripts] +peebz = 'peebz.command:cmd' -- cgit 1.2.3-korg