diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2023-09-08 10:43:58 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2023-09-08 10:43:58 -0400 |
commit | 6650f85eb86d1e516850f59a9fed2f899bef5671 (patch) | |
tree | ca09f98868d28034ba080d65c545c19439f9b73f | |
parent | 1358414856a1d18fe407481e8e23e50c1822731c (diff) | |
download | bugspray-6650f85eb86d1e516850f59a9fed2f899bef5671.tar.gz |
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 <konstantin@linuxfoundation.org>
-rw-r--r-- | pyproject.toml | 41 |
1 files changed, 41 insertions, 0 deletions
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' |