-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
67 lines (61 loc) · 1.75 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
[tool.poetry]
name = "metax-api"
version = "2.2.3"
description = ""
authors = ["Your Name <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.7"
Django = "<4.0"
datacite = "^1.0.1"
djangorestframework = "^3.12.4"
gunicorn = "^20.1.0"
pika = "^1.2.0"
elasticsearch = "^7.12.0"
jsonschema = "^3.2.0"
lxml = "^4.6.3"
psycopg2-binary = "^2.8.6"
redis = "^3.5.3"
structlog = "^21.1.0"
xmltodict = "^0.12.0"
django-environ = "^0.4.5"
django-split-settings = "^1.0.1"
rdflib = "^5.0.0"
python-dateutil = "^2.8.1"
python-box = "^5.3.0"
pyoai = {git = "https://github.com/infrae/pyoai", rev = "4800af5"}
python-simplexquery = {version = "*", optional = true}
# These are here because of: https://github.com/python-poetry/poetry/issues/1644
Sphinx = {version = "^4.0.2", optional = true}
sphinx-autobuild = {version = "^2021.3.14", optional = true}
sphinx-rtd-theme = {version = "^0.5.2", optional = true}
PyYAML = { version = "^5.4.1", optional = true}
[tool.poetry.dev-dependencies]
responses = "^0.13.2"
django-watchman = "^1.2.0"
icecream = "^2.1.0"
black = {version = "^20.8b1", allow-prereleases = true}
tblib = "^1.7.0"
django-debug-toolbar = "^3.2"
PyJWT = "^2.0.1"
ipdb = "^0.13.7"
isort = "^5.8.0"
coverage = {version = "^5.5", extras = ["toml"]}
[tool.poetry.extras]
simplexquery = ["python-simplexquery"]
docs = ["Sphinx", "sphinx-autobuild", "sphinx-rtd-theme"]
swagger = ["PyYAML"]
[tool.isort]
profile = "black"
src_paths = ["src"]
known_first_party = ["metax_api", "src/metax_api"]
skip_glob = "*/models/__init__.py,__init__.py"
include_trailing_comma = true
combine_as_imports = true
line_length = 100
[tool.black]
target-version = ['py38']
line-length = 100
exclude = "/migrations/"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"