-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (36 loc) · 1.12 KB
/
pyproject.toml
File metadata and controls
42 lines (36 loc) · 1.12 KB
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
[build-system]
requires = [ "poetry>=0.12",]
build-backend = "poetry.masonry.api"
[tool.poetry]
name = "medoo"
version = "0.1.2"
description = "A lightweight database framework for python"
homepage = "https://github.com/pwwang/pymedoo"
repository = "https://github.com/pwwang/pymedoo"
readme = "README.md"
authors = [ "pwwang <pwwang@pwwang.com>",]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.7"
mysql-connector-python = {version = "^8", optional = true}
psycopg2 = {version = "^2", optional = true}
pymssql = {version = "^2", optional = true}
cx-Oracle = {version = "^8", optional = true}
[tool.poetry.extras]
all = [ "mysql-connector-python", "psycopg2", "pymssql", "cx-Oracle" ]
mysql = ["mysql-connector-python"]
postgresql = ["psycopg2"]
mssql = ["pymssql"]
oracle = ["cx-Oracle"]
[tool.poetry.dev-dependencies]
pytest = "^7"
pytest-cov = "^3"
tablib = "^3"
[tool.black]
line-length = 79
target-version = ['py37', 'py38', 'py39']
include = '\.pyi?$'
[tool.pytest.ini_options]
addopts = "-vv --cov=medoo --cov-report xml:.coverage.xml --cov-report term-missing"
console_output_style = "progress"
junit_family = "xunit1"