-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathpyproject.toml
More file actions
145 lines (136 loc) · 3.51 KB
/
pyproject.toml
File metadata and controls
145 lines (136 loc) · 3.51 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
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
133
134
135
136
137
138
139
140
141
142
143
144
145
#
# Richie package
#
[build-system]
requires = ["setuptools>=60", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "richie"
dynamic = ["version"]
description = "A CMS to build learning portals for open education"
readme = "README.md"
authors = [{ "name" = "Open FUN (France Université Numérique)", "email" = "fun.dev@fun-mooc.fr" }]
license = { file = "LICENSE" }
keywords = ["Django", "Django-CMS", "Open edX"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 4",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8"
dependencies = [
"arrow<2",
"babel<3",
"Django<5",
"djangocms-file<4",
"djangocms-googlemap<3",
"djangocms-link>=5.0.0,<6",
"djangocms-picture<5",
"djangocms-text-ckeditor<6",
"djangocms-video<4",
"djangorestframework<4",
"django-autocomplete-light<4",
"django-cms>=3.11.0,<4.0.0",
"django-parler>=2.3,<3",
"django-redis>=4.11.0,<6",
"django-treebeard<5",
"dj-pagination<3",
"easy_thumbnails[svg]>=2.8,<2.10",
"elasticsearch>=6.0.0,<7.0.0",
"exrex<1",
"importlib-metadata<9",
"oauthlib>=3.2.2,<4",
"python-keycloak<8",
"requests>=2.32.3,<3",
]
[project.urls]
"Bug Tracker" = "https://github.com/openfun/richie/issues/new"
"Changelog" = "https://github.com/openfun/richie/blob/master/CHANGELOG.md"
"Homepage" = "https://github.com/openfun/richie"
"Repository" = "https://github.com/openfun/richie"
"Documentation" = "https://richie.education/"
"Demonstration website" = "https://demo.richie.education/"
[tool.setuptools]
packages = { find = { where = ["src"], exclude = ["tests"] } }
zip-safe = true
[tool.distutils.bdist_wheel]
universal = true
[project.optional-dependencies]
dev = [
"bandit==1.8.3",
"beaupy==3.10.1",
"black==25.1.0",
"pyRdfa3==3.6.4",
"cssselect==1.3.0",
"factory-boy==3.3.3",
"flake8==7.2.0",
"flake8-pyproject==1.2.3",
"htmlmin==0.1.12",
"ipdb==0.13.13",
"ipython==9.0.2",
"isort==6.0.1",
"lxml==5.3.1",
"msgpack==1.1.0",
"mysqlclient==2.2.7",
"pylint==3.3.6",
"pylint-django==2.6.1",
"pytest==8.3.5",
"pytest-cov==6.0.0",
"pytest-django==4.10.0",
"responses==0.25.7",
]
ci = [
"twine==6.1.0",
]
sandbox = [
"boto3<1.36",
"django-storages==1.14.5",
"django-configurations==2.5.1",
"dockerflow==2024.4.2",
"factory-boy==3.3.3",
"gunicorn==23.0.0",
"psycopg2-binary==2.9.10",
"sentry-sdk==2.24.1",
]
[tool.flake8]
max-line-length = 99
exclude = [
".git",
".venv",
"build",
"venv",
"__pycache__",
"node_modules",
"*/migrations/*",
]
[tool.isort]
profile = "black"
known_django = "django"
known_richie = "richie"
include_trailing_comma = true
line_length = 88
multi_line_output = 3
sections = ["FUTURE","STDLIB","DJANGO","THIRDPARTY","RICHIE","FIRSTPARTY","LOCALFOLDER"]
skip_glob = "src/frontend/node_modules/**/*,venv"
[tool.pytest.ini_options]
addopts = "-v --cov-report term-missing"
python_files = [
"test_*.py",
"tests.py"
]
testpaths = [
"tests",
]
filterwarnings = [
"ignore:::(?!(tests|richie))",
]
[tool.setuptools_scm]
local_scheme = "no-local-version"