-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
75 lines (66 loc) · 1.45 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[tool.poetry]
name = "onebot"
version = "2.0.0"
description = "OneBot is an irc bot based on irc3"
authors = ["Thom Wiggers <thom@thomwiggers.nl>"]
readme = "README.rst"
license = "BSD-3-Clause"
repository = "https://github.com/thomwiggers/onebot"
keywords= ["onebot", "irc"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Communications :: Chat :: Internet Relay Chat",
]
packages = [
{ include = "onebot" },
]
[tool.poetry.scripts]
onebot = "onebot:run"
[tool.poetry.dependencies]
python = "^3.11"
irc3 = "^1.1"
lfmh = "^1.1.1"
musicbrainzngs = "^0.7.1"
beautifulsoup4 = "^4"
html5lib = "^1"
requests = "^2"
isodate = "^0.7"
cryptography = "^44"
tekore = "^6"
dateparser = "^1"
redis = "^5"
praw = "^7.8.1"
[tool.poetry.dev-dependencies]
freezegun = "^1.5.1"
pytest = "*"
twine = "*"
black = "*"
pytest-xdist = "*"
[tool.poetry.group.dev.dependencies]
betamax = "^0.9.0"
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py38,py39,py310,package
[testenv]
whitelist_externals = poetry
commands =
poetry install --no-root -v
poetry run pytest
[testenv:package]
skip_install = True
deps =
twine
commands =
poetry build
twine check dist/*
"""
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "--doctest-modules --ignore=docs/"