-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
123 lines (109 loc) · 2.72 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[project]
name = "emgcli"
readme = "README.md"
authors = [
{name = "MGnify team", email = "[email protected]"},
]
license = {file = "LICENSE"}
keywords = ["django", "api", "resource", "django-rest-framework", "jsonapi", "metagenomics"]
dynamic = ["version"]
dependencies = [
# deployment
"gunicorn==20.1.0",
"whitenoise==6.4.0",
"requests==2.28.1",
"yamjam==0.1.7",
"PyYAML==6.0",
# log handler
"concurrent-log-handler~=0.9.24",
# django
"Django==3.2.23",
"djangorestframework==3.12",
"django-filter==23.1",
"djangorestframework-jwt~=1.11.0",
"django-cors-headers==3.14.0",
"djangorestframework-jsonapi==4.2.1",
"djangorestframework-csv==2.1.1",
"drf-spectacular==0.26.0",
# ENA
"cx_Oracle~=6.2.1",
# mongo
"mongoengine==0.27.0",
"pymongo==4.3.3",
"django-rest-framework-mongoengine==3.4.1",
# my-sql
"django-mysql==4.3.0",
"mysqlclient==2.1.1",
"mysql-connector-python~=8.0.23",
"sqlparse==0.4.4",
# assembly contig viewer
"pysam==0.21.0",
# sourmash search
"celery[redis]==5.2.7",
# ena api lib
"ena_api_libs@git+https://github.com/EBI-Metagenomics/[email protected]",
]
[project.urls]
Homepage = "https://www.ebi.ac.uk/metagenomics"
Documentation = "https://docs.mgnify.org"
Repository = "https://github.com/ebi-metagenomics/emgapi"
[build-system]
requires = ["setuptools>=61.0.0"]
build-backend = "setuptools.build_meta"
requires-python = ">=3.8"
[tool.setuptools.packages]
find = {}
[tool.setuptools.dynamic]
version = {attr = "emgcli.__version__"}
[project.scripts]
emgcli = "emgcli.manage:main"
emgdeploy = "gunicorn.app.wsgiapp:run"
[project.optional-dependencies]
tests = [
"multidict==5.1.0",
"pytest==6.2.5",
"pytest-django==4.4.0",
"pytest-xdist==2.3.0",
"model_bakery==1.17.0",
"mock_services==0.3.1",
"mongomock==3.23.0",
"jsonapi-client==0.9.9",
"pytest-cov==2.12.1",
"pandas==2.2.1",
"responses==0.23.1",
"Faker==19.6.2",
]
dev = [
"django-debug-toolbar==3.8.1",
"django-extensions==3.2.1",
"django-grappelli==2.15.1",
"bump-my-version==0.9.2",
]
admin = [
"django-grappelli==2.15.1",
]
webuploader = [
"pandas==1.3.2"
]
[tool.pytest.ini_options]
addopts = "-p no:warnings --cov-report term --cov=emgapi --cov=emgapianns --cov=emgcli --cov=emgena"
python_files = "tests/*.py"
[tool.tox]
legacy_tox_ini = """
[flake8]
exclude =
.git,
.eggs,
__pycache__,
docker,
venv,
# TODO: clean up model, skip dirty files
emgcli/settings.py,
emgapi/migrations
max-complexity = 10
max-line-length = 119
"""
[tool.bumpversion]
current_version = "2.4.50"
[[tool.bumpversion.files]]
filename = "emgcli/__init__.py"