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
|
[tool.poetry]
authors = ["long2ice <long2ice@gmail.com>"]
description = "A fast asyncio MySQL driver"
documentation = "https://github.com/long2ice/asyncmy"
homepage = "https://github.com/long2ice/asyncmy"
include = ["CHANGELOG.md", "LICENSE", "README.md"]
keywords = ["driver", "asyncio", "mysql"]
license = "Apache-2.0"
name = "asyncmy"
packages = [
{ include = "asyncmy" },
]
readme = "README.md"
repository = "https://github.com/long2ice/asyncmy.git"
version = "0.2.10"
[tool.poetry.dependencies]
python = "^3.8"
[tool.poetry.group.dev.dependencies]
cython = "*"
isort = "*"
mypy = "*"
rich = "*"
ruff = "*"
# Remove the follows if migrate black to ruff
black = "*"
click = "*"
pathspec = "*"
platformdirs = "*"
[tool.poetry.group.test.dependencies]
pytest = "*"
mysqlclient = "*"
pymysql = ">=0.8.1"
aiomysql = "*"
# Breaking change in 0.23.*
# https://github.com/pytest-dev/pytest-asyncio/issues/706
pytest-asyncio = "^0.21.2"
pytest-mock = "*"
pytest-xdist = "*"
cryptography = "*"
uvloop = { version = "*", markers = "sys_platform != 'win32'" }
[tool.poetry.build]
generate-setup-file = true
script = "build.py"
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core", "setuptools", "cython"]
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
[tool.pytest.ini_options]
asyncio_mode = 'auto'
[tool.mypy]
pretty = true
ignore_missing_imports = true
[tool.ruff]
line-length = 100
|