-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
55 lines (48 loc) · 1.25 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
[tool.poetry]
name = "djkit"
version = "1.0.9"
description = "A library for handling common stuff in Django"
authors = ["leondaz <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{ include = "djkit" }]
[tool.poetry.dependencies]
python = "^3.9"
django = { version = "^4.0" }
djangorestframework = { version = "^3.10.0", optional = true }
pandas = { version = "^2.0.0", optional = true }
polars = { version = "^0.20.2", optional = true}
openpyxl = { version = "^3.0.0", optional = true }
xlsx2csv = { version = "^0.8.2", optional = true}
xlsxwriter = { version = "^3.1.0", optional = true }
[tool.poetry.extras]
drf = ["djangorestframework"]
pandas = ['pandas', 'openpyxl', 'xlsxwriter']
polars = ['polars', 'xlsx2csv']
[tool.poetry.group.dev.dependencies]
black = "^23.11.0"
isort = "^5.12.0"
sphinx = "^7.2.6"
pytest = "^7.4.3"
lxml = "^4.9.3"
faker = "^20.1.0"
build = "^1.0.3"
twine = "^4.0.2"
pytest-django = "^4.7.0"
pre-commit = "^3.6.0"
ruff = "^0.1.9"
[tool.poetry.group.dev]
optional = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "example.settings"
pythonpath = [
"./example",
"./djkit",
"./tests",
]
testpaths = [
"./tests",
]