forked from openfun/ralph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
132 lines (123 loc) · 2.84 KB
/
setup.cfg
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
124
125
126
127
128
129
130
131
132
;;
;; Ralph package
;;
[metadata]
name = ralph-malph
version = 3.1.0
description = The ultimate toolbox for your learning analytics
long_description = file:README.md
long_description_content_type = text/markdown
author = Open FUN (France Universite Numerique)
author_email = fun.dev@fun-mooc.fr
url = https://openfun.github.io/ralph/
license = MIT
keywords = Open edX, Analytics, xAPI, LRS
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3.9
[options]
include_package_data = True
install_requires =
; By default, we only consider core dependencies required to use Ralph as a
; library (mostly models).
langcodes>=3.2.0
pydantic[dotenv,email]>=1.10.0
rfc3987>=1.3.0
package_dir =
=src
packages = find:
zip_safe = True
python_requires = >= 3.9
[options.extras_require]
backend-es =
elasticsearch>=8.0.0
backend-ldp =
ovh>=1.0.0
requests>=2.0.0
backend-mongo =
pymongo[srv]>=4.0.0
backend-swift =
python-keystoneclient>=5.0.0
python-swiftclient>=4.0.0
backend-ws =
websockets>=10.3
cli =
bcrypt>=4.0.0
click>=8.1.0
click-option-group>=0.5.0
sentry-sdk[fastapi]>=1.9.0
dev =
bandit==1.7.4
black==22.12.0
factory-boy==3.2.1
Faker==15.3.4
flake8==6.0.0
hypothesis==6.61.0
ipdb==0.13.11
ipython==8.7.0
isort==5.11.4
logging-gelf==0.0.26
memory-profiler==0.61.0
mkdocs==1.4.2
mkdocs-click==0.8.0
mkdocs-material==8.5.11
mkdocstrings[python-legacy]==0.19.1
pydocstyle==6.1.1
pyfakefs==5.0.0
pylint==2.15.9
pytest==7.2.0
pytest-asyncio==0.20.3
pytest-cov==4.0.0
ci =
twine==4.0.2
lrs =
bcrypt==4.0.1
fastapi==0.88.0
; We temporary pin `h11` to avoid pip downloading the latest version to solve a
; dependency conflict caused by `httpx` which requires httpcore>=0.15.0,<0.16.0 and
; `httpcore` depends on h11>=0.11,<0.13.
; See: https://github.com/encode/httpx/issues/2244
h11>=0.11.0
httpx==0.23.1
sentry_sdk==1.12.1
uvicorn[standard]==0.20.0
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
ralph = ralph.__main__:cli
[wheel]
universal = 1
;;
;; Third-party packages configuration
;;
[flake8]
max-line-length = 88
extend-ignore = E203
exclude =
.git,
.venv,
build,
venv,
__pycache__,
node_modules,
*/migrations/*
[pydocstyle]
convention = google
match = ^src/ralph.*\.py
[isort]
known_ralph=ralph
sections=FUTURE,STDLIB,THIRDPARTY,RALPH,FIRSTPARTY,LOCALFOLDER
skip_glob=venv
profile=black
[tool:pytest]
addopts = -v --cov-report term-missing --cov-config=.coveragerc --cov=src/ralph
python_files =
test_*.py
tests.py
testpaths =
tests