60 lines
1.1 KiB
INI
60 lines
1.1 KiB
INI
[metadata]
|
|
name = keyserver-bot
|
|
version = 0.0.1
|
|
author = missytake
|
|
author_email = missytake@systemli.org
|
|
description = A Chatmail bot to query contacts from keys.openpgp.org
|
|
long_description = file: README.md
|
|
long_description_content_type = text/markdown
|
|
url = https://git.0x90.space/missytake/keyserver-bot
|
|
project_urls =
|
|
Bug Tracker = https://git.0x90.space/missytake/keyserver-bot/issues
|
|
|
|
[options]
|
|
package_dir =
|
|
= src
|
|
packages = find:
|
|
python_requires = >=3.11
|
|
install_requires =
|
|
deltachat-rpc-client
|
|
deltachat-rpc-server
|
|
wkdhash
|
|
requests
|
|
email-validator
|
|
PGPy
|
|
|
|
[options.packages.find]
|
|
where = src
|
|
|
|
[options.entry_points]
|
|
console_scripts =
|
|
keyserver-bot = keyserver_bot.hooks:main
|
|
|
|
[options.extras_require]
|
|
dev =
|
|
pytest
|
|
pytest-xdist
|
|
tox
|
|
black
|
|
|
|
[tox:tox]
|
|
envlist = lint, py311, py312
|
|
isolated_build = True
|
|
|
|
[testenv:lint]
|
|
skip_install = True
|
|
deps =
|
|
black
|
|
commands =
|
|
black --check --diff --line-length 120 src tests
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
pytest-xdist
|
|
commands =
|
|
pytest -n4 tests
|
|
|
|
[flake8]
|
|
max_line_length = 120
|